/* ==========================================================================
   Jagirdar Publications — Design System
   Maroon + gold palette drawn from the book cover; glass surfaces; layered depth.
   ========================================================================== */

:root {
  --maroon-950: #170505;
  --maroon-900: #2a0a0a;
  --maroon-850: #3a0e0d;
  --maroon-800: #561512;
  --maroon-700: #7a1f1f;
  --maroon-600: #9a2b22;

  --gold-200: #f6e7c1;
  --gold-300: #f0d89c;
  --gold-400: #e2bd67;
  --gold-500: #c9a227;
  --gold-600: #a7801b;

  --cream-50: #fdfaf3;
  --cream-100: #f8f1e1;
  --cream-200: #efe1c3;
  --cream-300: #e3c696;

  --ink: #2b1d12;
  --ink-soft: rgba(43, 29, 18, 0.72);
  --ink-mute: rgba(43, 29, 18, 0.52);

  --whatsapp: #25d366;
  --whatsapp-dark: #1aa851;

  --glass-light: rgba(255, 255, 255, 0.55);
  --glass-light-border: rgba(255, 255, 255, 0.75);
  --glass-dark: rgba(255, 255, 255, 0.06);
  --glass-dark-border: rgba(240, 216, 156, 0.18);

  --font-sans: "Inter", "Noto Sans Devanagari", system-ui, sans-serif;
  --font-serif: "Noto Serif Devanagari", "Cormorant Garamond", serif;
  --font-display: "Cormorant Garamond", "Noto Serif Devanagari", serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --shadow-sm: 0 8px 24px -10px rgba(58, 14, 13, 0.18);
  --shadow: 0 24px 60px -20px rgba(58, 14, 13, 0.28);
  --shadow-lg: 0 40px 90px -30px rgba(23, 5, 5, 0.55);

  --header-h: 76px;
  --sacred-bg: #1c0606;
  --text-on-dark: rgba(248, 238, 214, 0.8);
  --text-dim: rgba(246, 231, 193, 0.6);
  --container: 1200px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-on-dark);
  background: var(--sacred-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-serif); line-height: 1.25; }
p { margin: 0; }

::selection { background: var(--gold-500); color: #fff; }

::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: #120303; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold-400), var(--gold-600)); border-radius: 10px; }

:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .container { padding: 0 32px; } }

section[id], footer[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120;
  box-shadow: 0 0 12px rgba(240, 216, 156, 0.7);
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold-600), var(--gold-300), #fff6dc);
  pointer-events: none;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 12px 0 auto; z-index: 100;
  padding: 0 12px;
  transition: transform 0.5s var(--ease-out);
}
.site-header.is-hidden { transform: translateY(-130%); }

.nav-shell {
  max-width: var(--container); margin: 0 auto;
  height: 64px; padding: 0 10px 0 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-radius: 999px;
  background: rgba(253, 250, 243, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 40px -18px rgba(42, 10, 10, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.site-header.is-scrolled .nav-shell {
  background: rgba(253, 250, 243, 0.85);
  box-shadow: 0 14px 44px -18px rgba(42, 10, 10, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 42px; width: auto; transition: transform 0.6s var(--ease-spring); }
.brand:hover img { transform: rotate(-6deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-serif); font-weight: 700; font-size: 22px; color: var(--ink); letter-spacing: 0.02em; }
.brand-sub { font-size: 9.5px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-600); margin-top: 4px; }

.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink-soft);
  transition: color 0.3s ease, background 0.3s ease;
}
.nav-links a:hover { color: var(--maroon-700); background: rgba(201, 162, 39, 0.1); }
.nav-links a.is-active { color: var(--maroon-700); background: rgba(201, 162, 39, 0.16); }

.nav-actions { display: flex; align-items: center; gap: 8px; }

.menu-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(122, 31, 31, 0.08); color: var(--maroon-700);
}
.menu-btn .bar { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: background 0.3s; }
.menu-btn .bar::before, .menu-btn .bar::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out);
}
.menu-btn .bar::before { top: -6px; }
.menu-btn .bar::after { top: 6px; }
.menu-btn[aria-expanded="true"] .bar { background: transparent; }
.menu-btn[aria-expanded="true"] .bar::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bar::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  max-width: var(--container); margin: 10px auto 0;
  border-radius: var(--radius-lg);
  background: rgba(253, 250, 243, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: var(--shadow);
  padding: 10px;
  display: grid; gap: 2px;
  transform-origin: top center;
  transition: opacity 0.35s var(--ease-out), transform 0.45s var(--ease-out), visibility 0.35s;
}
.mobile-menu[hidden] { display: grid; opacity: 0; visibility: hidden; transform: translateY(-10px) scale(0.97); pointer-events: none; }
.mobile-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-radius: 14px; font-weight: 600;
}
.mobile-menu a:hover { background: rgba(201, 162, 39, 0.12); }
.mobile-menu a i { color: var(--gold-600); font-size: 12px; }
.mobile-menu .btn { margin-top: 6px; justify-content: center; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .menu-btn, .mobile-menu { display: none !important; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), background 0.3s ease, color 0.3s ease;
  will-change: transform;
}
.btn i { font-size: 1.15em; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.8s var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--maroon-600), var(--maroon-700) 55%, var(--maroon-800));
  box-shadow: 0 14px 30px -12px rgba(122, 31, 31, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-primary:hover { box-shadow: 0 20px 40px -12px rgba(122, 31, 31, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25); }

.btn-gold {
  color: var(--maroon-900);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-400) 50%, var(--gold-500));
  box-shadow: 0 14px 30px -12px rgba(201, 162, 39, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-whatsapp {
  color: #fff;
  background: linear-gradient(135deg, #2fe077, var(--whatsapp) 50%, var(--whatsapp-dark));
  box-shadow: 0 14px 30px -12px rgba(37, 211, 102, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-glass {
  color: var(--gold-200);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(240, 216, 156, 0.3);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

.btn-sm { padding: 10px 18px; font-size: 13.5px; }

/* Login / account link (header) */
.btn-login {
  position: relative; color: var(--maroon-800);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(122, 31, 31, 0.18);
}
.btn-login:hover { background: #fff; }
.btn-login i { color: var(--maroon-700); }
.btn-login span { max-width: 110px; overflow: hidden; text-overflow: ellipsis; }
.voucher-dot {
  position: absolute; top: -2px; right: -2px; width: 12px; height: 12px; border-radius: 50%;
  background: #dc2626; border: 2px solid #fff; box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6);
  animation: voucher-ping 1.6s ease-out infinite;
}
@keyframes voucher-ping { to { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); } }
@media (max-width: 520px) { .nav-actions .btn-login span { display: none; } .nav-actions .btn-login { padding: 10px 12px; } }

/* Pre-order offer pill beside the price */
.price-main { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.price-offer {
  display: inline-block; white-space: nowrap; padding: 6px 14px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; color: var(--maroon-900);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
}

/* Order Now buttons hidden until settings enable them (preserves original behaviour) */
.order-now-btn { display: none !important; }

/* ---------- Shared typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-600);
}
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }
.eyebrow.left::after { display: none; }

.section-head { text-align: center; margin-bottom: 56px; }
.section-title {
  font-size: clamp(32px, 4.8vw, 52px); font-weight: 800; color: var(--ink); margin-top: 14px; line-height: 1.35;
}
.section-title .accent {
  background: linear-gradient(120deg, var(--maroon-700), var(--maroon-600) 40%, var(--gold-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-sub { color: var(--ink-soft); margin-top: 12px; }

.divider-lotus {
  display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; color: var(--gold-500);
}
.divider-lotus::before, .divider-lotus::after { content: ""; width: 60px; height: 1px; background: linear-gradient(90deg, transparent, currentColor); }
.divider-lotus::after { transform: scaleX(-1); }
.divider-lotus svg { width: 26px; height: 26px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.from-left { transform: translateX(-50px); }
.reveal.from-right { transform: translateX(50px); }
.reveal.zoom { transform: scale(0.92); }
.reveal.is-visible { opacity: 1; transform: none; }

.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.22em 0.14em 0.16em; margin: -0.22em -0.14em -0.16em; }
.split-words .w > span {
  display: inline-block; transform: translateY(110%) rotate(4deg); opacity: 0;
  transition: transform 1.1s var(--ease-out), opacity 1.1s var(--ease-out);
  transition-delay: calc(var(--i) * 70ms + var(--d, 0ms));
}
.split-words.is-visible .w > span { transform: none; opacity: 1; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  padding: calc(var(--header-h) + 48px) 0 200px;
  display: flex; align-items: center;
  color: var(--cream-100);
  background:
    radial-gradient(ellipse 60% 55% at 72% 45%, rgba(201, 162, 39, 0.28), transparent 70%),
    radial-gradient(ellipse 90% 80% at 20% 10%, #6b1a16 0%, transparent 60%),
    linear-gradient(160deg, var(--maroon-800) 0%, var(--maroon-900) 55%, var(--maroon-950) 100%);
}

.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.grain {
  position: absolute; inset: 0; opacity: 0.18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; }
.orb-1 { width: 420px; height: 420px; left: -120px; top: 10%; background: #8f2a1f; }
.orb-2 { width: 360px; height: 360px; right: -80px; bottom: -60px; background: #a7801b; opacity: 0.35; }
.orb-3 { width: 240px; height: 240px; left: 40%; top: -80px; background: #c9a227; opacity: 0.18; }

#dust { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 3; pointer-events: none; mix-blend-mode: screen; }

.hero-grid {
  display: grid; gap: 56px; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 40px; } }

.hero-copy { text-align: center; order: 2; }
@media (min-width: 1024px) { .hero-copy { text-align: left; order: 1; } }

.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-200);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(240, 216, 156, 0.25);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.chip .chip-dot {
  width: 24px; height: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); color: var(--maroon-900); font-size: 11px;
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.2);
}

.hero-title {
  margin-top: 26px;
  font-size: clamp(40px, 7vw, 76px); font-weight: 800; line-height: 1.12;
  color: var(--cream-50);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}
.hero-title .gold {
  background: linear-gradient(100deg, var(--gold-200) 0%, var(--gold-400) 35%, #fff6d8 50%, var(--gold-400) 65%, var(--gold-500) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
  text-shadow: none;
  filter: drop-shadow(0 6px 24px rgba(201, 162, 39, 0.35));
}
@keyframes shimmer { to { background-position: -220% 0; } }

.hero-subtitle {
  margin-top: 18px; font-family: var(--font-serif); font-size: clamp(20px, 2.6vw, 28px);
  color: var(--gold-300); font-weight: 600;
}
.hero-desc { margin: 18px auto 0; max-width: 540px; color: rgba(248, 241, 225, 0.75); font-size: 17px; }
@media (min-width: 1024px) { .hero-desc { margin-left: 0; } }

.price-card {
  margin: 30px auto 0; display: inline-flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center;
  padding: 16px 22px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(240, 216, 156, 0.22);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}
.price-value {
  font-family: var(--font-sans); font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff6dc, var(--gold-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-meta { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--gold-200); text-align: left; max-width: 270px; }
.price-meta i {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(201, 162, 39, 0.16); color: var(--gold-300);
}
.price-sep { width: 1px; align-self: stretch; background: rgba(240, 216, 156, 0.22); }
@media (max-width: 520px) { .price-sep { display: none; } .price-meta { text-align: center; } }

.hero-ctas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
@media (min-width: 1024px) { .hero-ctas { justify-content: flex-start; } }
@media (max-width: 520px) { .hero-ctas .btn { width: 100%; } }

.hero-notice {
  margin-top: 16px; display: flex; gap: 8px; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 600; color: rgba(240, 216, 156, 0.7);
}
@media (min-width: 1024px) { .hero-notice { justify-content: flex-start; } }

/* ---------- 3D Book ---------- */
.book-stage {
  order: 1; position: relative; display: flex; justify-content: center; align-items: center;
  min-height: 440px; perspective: 1800px;
}
@media (min-width: 640px) { .book-stage { min-height: 560px; } }
@media (min-width: 1024px) { .book-stage { order: 2; min-height: 640px; } }

.halo {
  position: absolute; left: 50%; top: 50%; width: 560px; height: 560px; max-width: 120vw; max-height: 120vw;
  transform: translate(-50%, -50%); pointer-events: none;
}
.halo-glow {
  position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 236, 170, 0.75) 0%, rgba(226, 189, 103, 0.45) 30%, rgba(201, 162, 39, 0.12) 55%, transparent 70%);
  animation: breathe 6s ease-in-out infinite;
}
.halo-rays {
  position: absolute; inset: 0; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(246, 231, 193, 0.22) 0deg 1.4deg, transparent 1.4deg 7.5deg);
  mask-image: radial-gradient(circle, transparent 22%, #000 32%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, transparent 22%, #000 32%, transparent 70%);
  animation: spin 80s linear infinite;
}
.halo-ring {
  position: absolute; border-radius: 50%; border: 1px dashed rgba(240, 216, 156, 0.35);
}
.halo-ring.r1 { inset: 6%; animation: spin 60s linear infinite reverse; }
.halo-ring.r2 { inset: -4%; border-style: solid; border-color: rgba(240, 216, 156, 0.12); }
.halo-ring.r2::before, .halo-ring.r1::before {
  content: ""; position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold-300); box-shadow: 0 0 16px 4px rgba(240, 216, 156, 0.7);
}
.halo-ring.r2 { animation: spin 40s linear infinite; }
.halo-mandala { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 120s linear infinite; opacity: 0.55; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { transform: scale(0.94); opacity: 0.85; } 50% { transform: scale(1.04); opacity: 1; } }

.book-float { position: relative; animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.book-tilt { transform-style: preserve-3d; will-change: transform; }

.book {
  --w: 250px; --h: 347px; --d: 26px;
  position: relative; width: var(--w); height: var(--h);
  transform-style: preserve-3d;
  transform: rotateY(-22deg) rotateX(4deg);
  transition: transform 1s var(--ease-spring);
  cursor: grab; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
@media (min-width: 640px) { .book { --w: 320px; --h: 444px; --d: 30px; } }
@media (min-width: 1024px) { .book { --w: 360px; --h: 500px; --d: 34px; } }
.book.is-flipped { transform: rotateY(-202deg) rotateX(4deg); cursor: grabbing; }

.book-face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden;
}
.book-face img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.book-front { transform: translateZ(calc(var(--d) / 2)); border-radius: 4px 14px 14px 4px; }
.book-back { transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); border-radius: 14px 4px 4px 14px; }
.book-front::after, .book-back::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, rgba(255, 255, 255, 0.18) 2.5%, transparent 6%),
    linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.16) 50%, transparent 60%);
}
.book-back::after { transform: scaleX(-1); }
.book-front::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 245, 210, 0.35) 45%, transparent 60%);
  transform: translateX(var(--sheen, -100%)); transition: transform 0.2s linear; mix-blend-mode: soft-light;
}
.book-spine {
  position: absolute; top: 0; left: 0; width: var(--d); height: 100%;
  transform: translateX(-50%) rotateY(-90deg);
  background: linear-gradient(90deg, #4a1210, #7a1f1f 30%, #8e2a22 50%, #7a1f1f 70%, #4a1210);
  border-radius: 3px;
}
.book-spine::after {
  content: ""; position: absolute; inset: 10% 30%; border-top: 2px solid var(--gold-400); border-bottom: 2px solid var(--gold-400); opacity: 0.8;
}
.book-pages {
  position: absolute; top: 3px; right: 0; width: calc(var(--d) - 2px); height: calc(100% - 6px);
  transform: translateX(50%) rotateY(90deg);
  background: repeating-linear-gradient(90deg, #fbf4e2 0 2px, #e9dcbf 2px 3px);
}
.book-top, .book-bottom {
  position: absolute; left: 0; width: 100%; height: var(--d);
  background: repeating-linear-gradient(0deg, #fbf4e2 0 2px, #e9dcbf 2px 3px);
}
.book-top { top: 0; transform: translateY(-50%) rotateX(90deg); }
.book-bottom { bottom: 0; transform: translateY(50%) rotateX(-90deg); }

.book-shadow {
  position: absolute; left: 50%; bottom: -60px; width: 80%; height: 40px; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.55), transparent 70%); filter: blur(8px);
  animation: shadowPulse 7s ease-in-out infinite;
}
@keyframes shadowPulse { 0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.8; } 50% { transform: translateX(-50%) scale(0.85); opacity: 0.55; } }

.book-hint {
  position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 8px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  color: var(--gold-200); background: rgba(23, 5, 5, 0.35);
  border: 1px solid rgba(240, 216, 156, 0.25);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
}
.book-hint i { animation: tap 1.8s ease-in-out infinite; color: var(--gold-400); }
@keyframes tap { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px) scale(0.9); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 190px; transform: translateX(-50%); z-index: 2;
  display: none; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(240, 216, 156, 0.6);
}
@media (min-width: 1024px) { .scroll-cue { display: flex; } }
.scroll-cue .mouse { width: 22px; height: 34px; border: 2px solid rgba(240, 216, 156, 0.5); border-radius: 12px; position: relative; }
.scroll-cue .mouse::after {
  content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px;
  background: var(--gold-300); animation: wheel 2s ease-in-out infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; line-height: 0; pointer-events: none; }
.hero-wave svg { width: 100%; height: 190px; display: block; overflow: visible; }

/* ---------- Curved ribbon (text flows along the hero wave) ---------- */
.wave-fill { fill: var(--sacred-bg); }
.ribbon-band-edge { fill: none; stroke: url(#ribbon-edge); stroke-width: 62; stroke-linecap: butt; }
.ribbon-band { fill: none; stroke: url(#ribbon-fill); stroke-width: 56; stroke-linecap: butt; }
.ribbon-text {
  font-family: var(--font-serif); font-size: 19px; font-weight: 600; fill: var(--gold-200);
  dominant-baseline: central;
}
.ribbon-text .sep { fill: var(--gold-400); font-size: 13px; }
@media (max-width: 640px) { .ribbon-text { font-size: 16px; } }

/* ==========================================================================
   SACRED SECTIONS — one continuous dark temple space
   ========================================================================== */
.sacred { position: relative; isolation: isolate; color: var(--text-on-dark); }
.sacred .section-title, .page-hero h1 {
  color: transparent;
  background: linear-gradient(100deg, var(--gold-200) 0%, var(--gold-400) 35%, #fff6d8 50%, var(--gold-400) 65%, var(--gold-500) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  animation: shimmer 7s linear infinite;
  filter: drop-shadow(0 6px 24px rgba(201, 162, 39, 0.3));
}
.sacred .eyebrow { color: var(--gold-400); }
.sacred .section-sub { color: var(--text-dim); }

.sacred-divider {
  position: relative; height: 90px; max-width: 1100px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: flex-end; justify-content: center; pointer-events: none;
}
.sacred-divider .arc { position: absolute; left: 20px; right: 20px; bottom: 10px; width: calc(100% - 40px); height: 70px; overflow: visible; }
.sacred-divider .arc path { fill: none; stroke: url(#divider-grad); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.sacred-divider .lotus-mark {
  position: relative; width: 64px; height: 40px; margin-bottom: 52px;
  filter: drop-shadow(0 0 14px rgba(240, 216, 156, 0.6));
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse { 0%, 100% { filter: drop-shadow(0 0 8px rgba(240, 216, 156, 0.4)); } 50% { filter: drop-shadow(0 0 22px rgba(240, 216, 156, 0.85)); } }

.mandala { overflow: visible; }

/* Reusable aura (rays + glow + mandala) */
.aura-glow {
  position: absolute; inset: 14%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 236, 170, 0.55) 0%, rgba(226, 189, 103, 0.3) 30%, rgba(201, 162, 39, 0.08) 55%, transparent 70%);
  animation: breathe 6s ease-in-out infinite;
}
.aura-rays {
  position: absolute; inset: 0; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(246, 231, 193, 0.16) 0deg 1.4deg, transparent 1.4deg 7.5deg);
  mask-image: radial-gradient(circle, transparent 20%, #000 32%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, transparent 20%, #000 32%, transparent 70%);
  animation: spin 90s linear infinite;
}

/* Glass panel on dark */
.glass-panel {
  padding: 26px 28px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--glass-dark-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

/* Temple arch frame */
.arch {
  position: relative; padding: 7px;
  border-radius: 50% 50% 22px 22px / 30% 30% 22px 22px;
  background: linear-gradient(160deg, #fff1c4, var(--gold-400) 30%, var(--gold-600) 60%, #fff1c4 85%, var(--gold-500));
  box-shadow: 0 0 0 1px rgba(255, 241, 196, 0.4), 0 0 60px -6px rgba(226, 189, 103, 0.55), 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.arch::before {
  content: ""; position: absolute; inset: -14px; border-radius: inherit; pointer-events: none;
  border: 1px solid rgba(240, 216, 156, 0.35);
}
.arch-inner { position: relative; overflow: hidden; border-radius: 50% 50% 16px 16px / 29% 29% 16px 16px; background: var(--maroon-900); }
.arch-inner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 240, 200, 0.15), transparent 30%, transparent 70%, rgba(23, 5, 5, 0.35));
}

/* ---------- ABOUT ---------- */
.about { padding: 70px 0 80px; }
.about::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 40% 50% at 24% 52%, rgba(201, 162, 39, 0.14), transparent 70%),
    radial-gradient(ellipse 45% 55% at 92% 60%, rgba(122, 31, 31, 0.35), transparent 70%);
}
.about-grid { display: grid; gap: 70px; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 5fr 7fr; gap: 80px; } }

.shrine { position: relative; width: 100%; max-width: 400px; margin: 30px auto 0; }
.shrine-aura { position: absolute; left: 50%; top: 46%; width: 165%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: -1; pointer-events: none; }
.aura-mandala { position: absolute; inset: 4%; width: 92%; height: 92%; opacity: 0.45; animation: spin 140s linear infinite; }
.shrine .arch-inner { aspect-ratio: 1440 / 2000; }
.shrine .arch-inner img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.shrine-base { display: flex; justify-content: center; margin-top: 18px; }
.shrine-base svg { width: 120px; height: 75px; filter: drop-shadow(0 0 18px rgba(240, 216, 156, 0.55)); }

.glass-badge {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px;
  background: rgba(42, 10, 10, 0.55); border: 1px solid rgba(240, 216, 156, 0.3);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.glass-badge .ic {
  width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); color: var(--maroon-800); font-size: 16px;
}
.glass-badge b { display: block; font-size: 15px; color: #fff6dc; line-height: 1.2; }
.glass-badge small { font-size: 12.5px; color: var(--gold-300); font-weight: 600; }
.glass-badge.left { left: -36px; top: 40%; }
.glass-badge.right { right: -30px; bottom: 120px; }
@media (max-width: 560px) { .glass-badge.left { display: none; } .glass-badge.right { right: 4px; bottom: 110px; } }

.about-copy .section-title { text-align: left; }
.prose { margin-top: 26px; font-family: var(--font-serif); font-size: 17.5px; line-height: 1.95; color: var(--text-on-dark); }
.prose p + p { margin-top: 16px; }
.prose strong { color: var(--gold-300); font-weight: 700; }

.features { margin-top: 22px; display: grid; gap: 12px; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.feature {
  display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-radius: 18px;
  font-size: 15px; font-weight: 600; color: #fbefd2;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(240, 216, 156, 0.16);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform 0.5s var(--ease-out), border-color 0.4s, background 0.4s, box-shadow 0.5s;
}
.feature:hover { transform: translateY(-3px); border-color: rgba(240, 216, 156, 0.45); background: rgba(255, 255, 255, 0.07); box-shadow: 0 0 30px -10px rgba(226, 189, 103, 0.45); }
.feature .ic {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold-300); font-size: 13px; border: 1px solid rgba(240, 216, 156, 0.4); background: rgba(201, 162, 39, 0.12);
}
.feature.featured { background: linear-gradient(135deg, rgba(201, 162, 39, 0.28), rgba(122, 31, 31, 0.25)); border-color: rgba(240, 216, 156, 0.45); font-weight: 700; }
.feature.featured .ic { background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); color: var(--maroon-900); border: 0; }

.about-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- SPECS ---------- */
.specs { padding: 60px 0 90px; overflow: hidden; }
.specs-mandala { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; max-width: 160vw; transform: translate(-50%, -50%); z-index: -1; pointer-events: none; opacity: 0.35; }
.specs-mandala svg { width: 100%; height: 100%; animation: spin 160s linear infinite; }
.specs::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 50% 55%, rgba(201, 162, 39, 0.14), transparent 70%);
}

.spec-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .spec-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.spec {
  position: relative; overflow: hidden; text-align: center;
  padding: 38px 16px 32px; border-radius: 120px 120px var(--radius-lg) var(--radius-lg);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--glass-dark-border);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  transition: transform 0.6s var(--ease-out), border-color 0.4s, box-shadow 0.5s;
}
.spec::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(240, 216, 156, 0.2), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.spec:hover::before { opacity: 1; }
.spec:hover { border-color: rgba(240, 216, 156, 0.5); box-shadow: 0 0 50px -12px rgba(226, 189, 103, 0.5); }
.medallion {
  position: relative; width: 74px; height: 74px; margin: 0 auto 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--gold-300);
  background: radial-gradient(circle, rgba(201, 162, 39, 0.25), rgba(201, 162, 39, 0.04) 70%);
  border: 1px solid rgba(240, 216, 156, 0.4);
  box-shadow: 0 0 30px -6px rgba(226, 189, 103, 0.45);
}
.medallion::before {
  content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px dashed rgba(240, 216, 156, 0.4);
  animation: spin 24s linear infinite;
}
.spec h3 { font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--text-dim); }
.spec p { margin-top: 6px; font-size: clamp(18px, 2.2vw, 22px); font-weight: 700; color: #fff6dc; font-family: var(--font-serif); }
.spec.highlight { background: linear-gradient(170deg, rgba(201, 162, 39, 0.32), rgba(122, 31, 31, 0.28)); border-color: rgba(240, 216, 156, 0.45); }
.spec.highlight .medallion { background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); color: var(--maroon-900); }

/* ---------- AUTHORS ---------- */
.authors { padding: 60px 0 90px; }
.authors::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 35% 45% at 18% 60%, rgba(201, 162, 39, 0.1), transparent 70%),
    radial-gradient(ellipse 35% 45% at 82% 60%, rgba(201, 162, 39, 0.1), transparent 70%);
}
.author-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .author-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }

.author {
  position: relative; display: grid; gap: 30px; align-items: center;
  padding: 34px 28px; border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--glass-dark-border);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 40px 80px -40px rgba(0, 0, 0, 0.8);
  transition: transform 0.7s var(--ease-out), border-color 0.4s, box-shadow 0.6s;
}
.author:hover { border-color: rgba(240, 216, 156, 0.4); box-shadow: 0 0 60px -20px rgba(226, 189, 103, 0.45), 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
@media (min-width: 640px) { .author { grid-template-columns: 200px 1fr; padding: 36px 34px; align-items: start; } }

.author-portrait { position: relative; width: 200px; max-width: 70%; margin: 10px auto 0; }
@media (min-width: 640px) { .author-portrait { max-width: none; } }
.portrait-halo {
  position: absolute; left: 50%; top: 42%; width: 170%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: -1; border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 236, 170, 0.35) 0%, rgba(201, 162, 39, 0.1) 40%, transparent 65%);
}
.portrait-halo::after {
  content: ""; position: absolute; inset: 8%; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(246, 231, 193, 0.18) 0deg 1.2deg, transparent 1.2deg 9deg);
  mask-image: radial-gradient(circle, transparent 30%, #000 40%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, transparent 30%, #000 40%, transparent 70%);
  animation: spin 70s linear infinite;
}
.arch.small { padding: 5px; }
.arch.small::before { inset: -10px; }
.author .arch-inner { aspect-ratio: 4 / 5; }
.author .arch-inner img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.9); transform-origin: 0% 22%; transition: transform 1.2s var(--ease-out); }
.author:hover .arch-inner img { transform: scale(1.98); }

.author-body { text-align: center; }
@media (min-width: 640px) { .author-body { text-align: left; } }
.author h3 {
  font-size: 27px; font-weight: 700; line-height: 1.5; padding: 0.25em 0.1em 0.05em; margin: -0.25em -0.1em 0;
  background: linear-gradient(180deg, #fff6dc, var(--gold-400)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.author-rel { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--gold-400); }
.author-bio { margin-top: 14px; font-size: 15px; line-height: 1.85; color: var(--text-on-dark); }
.tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
@media (min-width: 640px) { .tags { justify-content: flex-start; } }
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; color: #fbefd2;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(240, 216, 156, 0.22);
  transition: border-color 0.3s, transform 0.3s var(--ease-spring), background 0.3s;
}
.tag i { color: var(--gold-400); }
.tag:hover { border-color: var(--gold-400); background: rgba(201, 162, 39, 0.14); transform: translateY(-2px); }

/* ---------- GALLERY ---------- */
.gallery { padding: 60px 0 90px; overflow: hidden; }
.gallery-aura {
  position: absolute; left: 50%; top: 60%; width: 820px; height: 820px; max-width: 170vw; max-height: 170vw;
  transform: translate(-50%, -50%); z-index: -1; pointer-events: none;
}
.gallery-aura::before {
  content: ""; position: absolute; inset: 15%; border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 189, 103, 0.35), rgba(201, 162, 39, 0.08) 50%, transparent 70%);
  animation: breathe 7s ease-in-out infinite;
}
.gallery-aura .mandala { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.3; animation: spin 150s linear infinite reverse; }

.carousel {
  position: relative; height: 340px; perspective: 1600px;
  display: flex; align-items: center; justify-content: center;
  user-select: none; -webkit-user-select: none; touch-action: pan-y;
}
@media (min-width: 640px) { .carousel { height: 420px; } }
@media (min-width: 900px) { .carousel { height: 500px; } }

.carousel-item {
  position: absolute; width: 200px; height: 290px;
  border-radius: 110px 110px 20px 20px; overflow: hidden; cursor: pointer;
  background: var(--maroon-800);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(240, 216, 156, 0.25);
  transition: transform 0.9s var(--ease-out), opacity 0.9s var(--ease-out), filter 0.9s var(--ease-out), border-color 0.6s, box-shadow 0.6s;
  will-change: transform, opacity;
}
@media (min-width: 640px) { .carousel-item { width: 260px; height: 370px; border-radius: 140px 140px 22px 22px; } }
@media (min-width: 900px) { .carousel-item { width: 310px; height: 450px; border-radius: 170px 170px 24px 24px; } }
.carousel-item img, .carousel-item video { width: 100%; height: 100%; object-fit: cover; }
.carousel-item.is-center { border-color: var(--gold-400); box-shadow: 0 0 70px -10px rgba(226, 189, 103, 0.55), 0 50px 100px -30px rgba(0, 0, 0, 0.9); }
.carousel-item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 240, 200, 0.12), transparent 25%, transparent 60%, rgba(23, 5, 5, 0.55));
}
.carousel-badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none;
}
.carousel-badge .play {
  width: 62px; height: 62px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; padding-left: 4px;
  background: rgba(201, 162, 39, 0.75); border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: pulseRing 2.2s infinite;
}
.carousel-badge span { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 6px; background: rgba(0, 0, 0, 0.4); }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(240, 216, 156, 0.55); } 100% { box-shadow: 0 0 0 22px rgba(240, 216, 156, 0); } }
.carousel-zoom {
  position: absolute; left: 50%; bottom: 16px; margin-left: -20px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transform: scale(0.7); transition: opacity 0.4s, transform 0.4s var(--ease-spring);
}
.carousel-item.is-center .carousel-zoom { opacity: 1; transform: none; }

.carousel-controls { margin-top: 44px; display: flex; align-items: center; justify-content: center; gap: 20px; }
.car-btn {
  width: 54px; height: 54px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold-200); background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(240, 216, 156, 0.28);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s, color 0.3s, transform 0.4s var(--ease-spring), border-color 0.3s;
}
.car-btn:hover { background: var(--gold-500); color: var(--maroon-900); border-color: var(--gold-500); transform: scale(1.08); }
.car-dots { display: flex; gap: 8px; }
.car-dots button { width: 8px; height: 8px; border-radius: 999px; background: rgba(240, 216, 156, 0.3); transition: width 0.5s var(--ease-out), background 0.4s; }
.car-dots button.is-active { width: 28px; background: var(--gold-400); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(23, 5, 5, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-media { max-width: min(92vw, 900px); max-height: 88vh; border-radius: 16px; box-shadow: var(--shadow-lg); transform: scale(0.94); transition: transform 0.5s var(--ease-out); }
.lightbox.is-open .lightbox-media { transform: none; }
.lightbox-media[hidden] { display: none; }
.icon-btn {
  width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.3s, transform 0.4s var(--ease-spring);
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.24); transform: rotate(90deg); }
.lightbox .icon-btn { position: absolute; top: 20px; right: 20px; }

/* ---------- FAQ ---------- */
.faq { padding: 60px 0 110px; overflow: hidden; }
.faq-mandala { position: absolute; width: 560px; height: 560px; top: 50%; z-index: -1; opacity: 0.22; pointer-events: none; animation: spin 180s linear infinite; }
.faq-mandala.l { left: -320px; margin-top: -280px; }
.faq-mandala.r { right: -320px; margin-top: -280px; animation-direction: reverse; }
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-list { display: grid; gap: 14px; }
.faq-item {
  border-radius: 22px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--glass-dark-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.5s var(--ease-out), border-color 0.4s, background 0.4s;
}
.faq-item:hover { border-color: rgba(240, 216, 156, 0.35); }
.faq-item.is-open {
  border-color: rgba(240, 216, 156, 0.55);
  background: linear-gradient(160deg, rgba(201, 162, 39, 0.16), rgba(122, 31, 31, 0.14));
  box-shadow: 0 0 50px -16px rgba(226, 189, 103, 0.5);
}
.faq-q {
  width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 24px; font-size: 17px; font-weight: 700; color: #fbefd2;
}
.faq-q .num { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--gold-400); min-width: 30px; }
.faq-q .txt { flex: 1; }
.faq-icon {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; position: relative;
  border: 1px solid rgba(240, 216, 156, 0.4); transition: background 0.4s, transform 0.6s var(--ease-spring);
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px;
  background: var(--gold-300); transition: transform 0.5s var(--ease-out), background 0.4s;
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-icon { background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); transform: rotate(180deg); border-color: transparent; }
.faq-item.is-open .faq-icon::before, .faq-item.is-open .faq-icon::after { background: var(--maroon-900); }
.faq-item.is-open .faq-icon::after { transform: rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease-out); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 24px 24px 72px; color: var(--text-on-dark); font-size: 15.5px; line-height: 1.85; }
@media (max-width: 520px) { .faq-a p { padding-left: 24px; } .faq-q { padding: 18px; font-size: 16px; } }

/* ==========================================================================
   CTA + FOOTER
   ========================================================================== */
.site-footer { position: relative; isolation: isolate; color: var(--cream-100); background: linear-gradient(180deg, var(--sacred-bg), #100303 60%); }

.cta-card {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: 64px 24px; border-radius: 200px 200px var(--radius-xl) var(--radius-xl);
  background: linear-gradient(160deg, var(--maroon-700), var(--maroon-800) 50%, var(--maroon-900));
  border: 1px solid rgba(240, 216, 156, 0.4);
  box-shadow: 0 0 80px -20px rgba(226, 189, 103, 0.35), var(--shadow-lg);
}
@media (max-width: 640px) { .cta-card { border-radius: 120px 120px var(--radius-lg) var(--radius-lg); padding-top: 70px; } }
@media (min-width: 640px) { .cta-card { padding: 80px 48px 72px; } }
.cta-card::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); z-index: -1;
  background: repeating-conic-gradient(from 0deg, rgba(240, 216, 156, 0.08) 0deg 2deg, transparent 2deg 9deg);
  mask-image: radial-gradient(circle, #000 10%, transparent 60%);
  -webkit-mask-image: radial-gradient(circle, #000 10%, transparent 60%);
  animation: spin 90s linear infinite;
}
.cta-halo { position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; transform: translate(-50%, -50%); z-index: -1; pointer-events: none; }
.cta-halo .mandala { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.35; animation: spin 120s linear infinite; }
.cta-lotus { width: 76px; height: 48px; margin: 0 auto 14px; display: block; filter: drop-shadow(0 0 16px rgba(240, 216, 156, 0.6)); }
.cta-card h2 {
  font-size: clamp(32px, 5vw, 52px); font-weight: 800; line-height: 1.5; padding-top: 0.2em; margin-top: -0.2em;
  background: linear-gradient(180deg, #fff8e4, var(--gold-300)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-card p { margin: 16px auto 0; max-width: 560px; font-size: 18px; color: rgba(246, 231, 193, 0.85); }
.cta-card p strong { color: var(--gold-300); font-size: 1.15em; }
.cta-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-cover { position: absolute; width: 120px; border-radius: 6px 10px 10px 6px; box-shadow: var(--shadow-lg); opacity: 0.9; display: none; }
@media (min-width: 1024px) {
  .cta-cover { display: block; }
  .cta-cover.l { left: 70px; top: 55%; transform: translateY(-50%) rotate(-12deg); }
  .cta-cover.r { right: 70px; top: 55%; transform: translateY(-50%) rotate(10deg); }
}

.footer-main { padding: 80px 0 32px; }
.footer-grid { display: grid; gap: 44px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: var(--gold-400); }
.footer-brand img { height: 52px; border-radius: 10px; }
.footer-about { margin-top: 20px; max-width: 340px; color: rgba(246, 231, 193, 0.6); font-size: 14.5px; line-height: 1.8; }
.footer-col h3 { font-family: var(--font-sans); font-size: 12.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 20px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-links a { color: rgba(246, 231, 193, 0.7); font-size: 14.5px; display: inline-flex; align-items: center; gap: 10px; transition: color 0.3s, transform 0.3s var(--ease-out); }
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.footer-links .ic {
  width: 36px; height: 36px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: rgba(240, 216, 156, 0.08); border: 1px solid rgba(240, 216, 156, 0.16); color: var(--gold-300);
}
.footer-bottom {
  margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(240, 216, 156, 0.12);
  display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: space-between;
  font-size: 13px; color: rgba(246, 231, 193, 0.45);
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.footer-bottom a:hover { color: #fff; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 28px; color: #fff;
  background: linear-gradient(135deg, #2fe077, var(--whatsapp-dark));
  box-shadow: 0 16px 30px -10px rgba(37, 211, 102, 0.7);
  transform: scale(0); transition: transform 0.5s var(--ease-spring);
}
.wa-float.is-visible { transform: scale(1); }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--whatsapp);
  animation: ripple 2.4s ease-out infinite;
}
@keyframes ripple { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } }

/* ==========================================================================
   MODAL (WhatsApp order)
   ========================================================================== */
.modal {
  position: fixed; inset: 0; z-index: 250;
  display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(23, 5, 5, 0.6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-card {
  position: relative; width: 100%; max-width: 480px; max-height: 92vh; overflow: auto;
  border-radius: var(--radius-xl);
  background: rgba(253, 250, 243, 0.92); border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: var(--shadow-lg);
  transform: translateY(30px) scale(0.96); transition: transform 0.6s var(--ease-out);
}
.modal.is-open .modal-card { transform: none; }
.modal-head {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 22px 24px;
  background: linear-gradient(135deg, var(--maroon-700), var(--maroon-900)); color: #fff;
}
.modal-head img { width: 44px; height: 62px; object-fit: cover; border-radius: 3px 6px 6px 3px; box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.6); }
.modal-head h3 { font-size: 22px; font-weight: 700; }
.modal-head small { display: block; color: var(--gold-300); font-size: 12.5px; font-family: var(--font-serif); }
.modal-head .icon-btn { margin-left: auto; width: 40px; height: 40px; font-size: 17px; }
.modal-body { padding: 24px; }

.form { display: grid; gap: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 14px; font: inherit; font-size: 15px; color: var(--ink);
  background: rgba(255, 255, 255, 0.85); border: 1px solid var(--cream-300);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.18); background: #fff; }
.field textarea { resize: vertical; min-height: 92px; }

.qty { display: flex; align-items: center; border: 1px solid var(--cream-300); border-radius: 14px; background: rgba(255, 255, 255, 0.85); overflow: hidden; width: max-content; }
.qty button { width: 46px; height: 48px; font-size: 18px; font-weight: 700; color: var(--maroon-700); transition: background 0.3s; }
.qty button:hover { background: var(--cream-100); }
.qty input { width: 64px; text-align: center; border: 0; border-radius: 0; background: transparent; padding: 0; height: 48px; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { box-shadow: none; }

.total-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; border-radius: 16px; background: var(--cream-100); border: 1px dashed var(--cream-300);
  font-weight: 700;
}
.total-row span:last-child { font-size: 24px; color: var(--maroon-700); }
.form .btn { width: 100%; margin-top: 4px; }

/* ==========================================================================
   POLICY PAGES
   ========================================================================== */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  padding: calc(var(--header-h) + 90px) 0 120px; color: var(--cream-100);
  background:
    radial-gradient(ellipse 60% 70% at 50% 120%, rgba(201, 162, 39, 0.35), transparent 70%),
    linear-gradient(160deg, var(--maroon-800), var(--maroon-950));
}
.page-hero::before {
  content: ""; position: absolute; left: 50%; top: 100%; width: 1100px; height: 1100px; transform: translate(-50%, -50%); z-index: -1;
  background: repeating-conic-gradient(from 0deg, rgba(240, 216, 156, 0.08) 0deg 1.5deg, transparent 1.5deg 8deg);
  mask-image: radial-gradient(circle, #000 15%, transparent 60%);
  -webkit-mask-image: radial-gradient(circle, #000 15%, transparent 60%);
  animation: spin 120s linear infinite;
}
.page-hero .eyebrow { color: var(--gold-400); }
.page-hero h1 { margin-top: 16px; font-size: clamp(36px, 6vw, 60px); font-weight: 800; color: transparent; line-height: 1.4; }
.page-hero p { margin-top: 12px; color: var(--gold-200); font-weight: 600; }
.crumbs { margin-top: 22px; display: inline-flex; gap: 10px; align-items: center; font-size: 13.5px; color: rgba(246, 231, 193, 0.7); }
.crumbs a:hover { color: #fff; }

.policy-wrap { position: relative; z-index: 2; margin-top: -70px; padding-bottom: 100px; }
.policy-layout { display: grid; gap: 28px; }
@media (min-width: 1024px) { .policy-layout { grid-template-columns: 260px 1fr; align-items: start; } }

.policy-nav {
  position: sticky; top: calc(var(--header-h) + 30px);
  padding: 12px; border-radius: var(--radius-lg);
  background: rgba(42, 10, 10, 0.7); border: 1px solid var(--glass-dark-border);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  display: flex; gap: 6px; overflow-x: auto;
}
@media (min-width: 1024px) { .policy-nav { flex-direction: column; } }
@media (max-width: 1023px) { .policy-nav { position: static; } }
.policy-nav a {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 600; color: var(--text-on-dark); white-space: nowrap; transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.policy-nav a i { width: 18px; text-align: center; color: var(--gold-400); }
.policy-nav a:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.policy-nav a.is-active { background: linear-gradient(135deg, rgba(201, 162, 39, 0.28), rgba(122, 31, 31, 0.4)); border-color: rgba(240, 216, 156, 0.45); color: #fff6dc; }

.policy-card {
  padding: 32px 24px; border-radius: var(--radius-xl);
  background: linear-gradient(170deg, rgba(58, 14, 13, 0.85), rgba(28, 6, 6, 0.92));
  border: 1px solid var(--glass-dark-border);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 0 60px -30px rgba(226, 189, 103, 0.4), 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
@media (min-width: 640px) { .policy-card { padding: 48px 52px; } }
.policy-updated {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--gold-300); background: rgba(201, 162, 39, 0.12); border: 1px solid rgba(240, 216, 156, 0.3);
}
.policy-card > p { margin-top: 20px; color: var(--text-on-dark); line-height: 1.85; }
.policy-section { margin-top: 30px; padding-top: 28px; border-top: 1px solid rgba(240, 216, 156, 0.14); }
.policy-section h2 { display: flex; align-items: center; gap: 14px; font-family: var(--font-sans); font-size: 19px; font-weight: 700; color: #fff6dc; }
.policy-section h2 .n {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--maroon-900); background: linear-gradient(135deg, var(--gold-200), var(--gold-500));
  box-shadow: 0 0 18px -4px rgba(226, 189, 103, 0.6);
}
.policy-section p, .policy-section ul { margin-top: 12px; color: var(--text-on-dark); line-height: 1.85; padding-left: 48px; }
.policy-section a { color: var(--gold-300); }
.policy-section ul { padding-left: 66px; }
.policy-section li + li { margin-top: 4px; }
.policy-section li::marker { color: var(--gold-400); }
@media (max-width: 520px) { .policy-section p { padding-left: 0; } .policy-section ul { padding-left: 20px; } }

/* 404 */
.notfound { min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; }
.notfound .big { font-family: var(--font-display); font-size: clamp(110px, 22vw, 200px); font-weight: 700; line-height: 1; background: linear-gradient(180deg, #fff6dc, var(--gold-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal, .split-words .w > span { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* Header fits narrow phones now that it also holds the Login link */
@media (max-width: 480px) {
  .nav-shell { padding: 0 8px 0 12px; gap: 8px; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn-whatsapp span { display: none; }
  .nav-actions .btn-whatsapp, .nav-actions .btn-login { padding: 10px 12px; }
}
