/* ============================================
   HADASSAH   Premium Book Website
   Donald P. Cassidy
   ============================================ */

:root {
  --gold: #C9A84C;
  --gold-light: #E8D5A8;
  --gold-dark: #8B6914;
  --gold-glow: rgba(201, 168, 76, 0.35);
  --midnight: #1E120C;
  --midnight-light: #3E2723;
  --midnight-lighter: #5C3D30;
  --ivory: #F5EDE3;
  --ivory-dark: #E8DFD0;
  --burgundy: #5D201A;
  --burgundy-light: #8B3A3A;
  --terracotta: #A0522D;
  --royal-blue: #1A3A6E;
  --royal-blue-light: #3D5A8C;
  --text: #1A1510;
  --text-muted: #6E5A4A;
  --white: #FFFFFF;

  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(201, 168, 76, 0.15);

  /* Golden-brown glassmorphism palette */
  --theme-gold: #D4B87A;
  --theme-amber: #C4843A;
  --theme-cream: #EDE4D4;
  --theme-caramel: #D4A96A;
  --theme-pearl: #F5EDE3;
  --theme-deep: #1E120C;
  --theme-brown: #5C3D30;

  --glass-blur: blur(32px);
  --glass-saturate: saturate(2.1);
  --glass-bg: rgba(255, 250, 240, 0.42);
  --glass-bg-strong: rgba(255, 250, 240, 0.68);
  --glass-bg-subtle: rgba(255, 250, 240, 0.28);
  --glass-tint-light: linear-gradient(145deg, rgba(255, 255, 255, 0.78) 0%, rgba(245, 237, 227, 0.52) 45%, rgba(237, 220, 180, 0.38) 100%);
  --glass-tint-warm: linear-gradient(145deg, rgba(255, 252, 245, 0.65) 0%, rgba(232, 213, 168, 0.28) 50%, rgba(245, 237, 220, 0.5) 100%);
  --glass-tint-gold: linear-gradient(145deg, rgba(255, 252, 245, 0.55) 0%, rgba(212, 184, 122, 0.25) 50%, rgba(237, 220, 180, 0.42) 100%);
  --glass-tint-dark: linear-gradient(145deg, rgba(92, 61, 48, 0.55) 0%, rgba(42, 26, 16, 0.4) 50%, rgba(62, 39, 35, 0.48) 100%);
  --glass-tint-brown: linear-gradient(145deg, rgba(92, 61, 48, 0.45) 0%, rgba(30, 18, 12, 0.35) 50%, rgba(74, 46, 34, 0.42) 100%);
  --glass-border-light: rgba(255, 255, 255, 0.72);
  --glass-border-soft: rgba(255, 255, 255, 0.52);
  --glass-border-gold: rgba(201, 168, 76, 0.45);
  --glass-border-brown: rgba(92, 61, 48, 0.35);
  --glass-bg-dark: rgba(42, 26, 16, 0.4);
  --glass-bg-dark-strong: rgba(30, 18, 12, 0.58);
  --glass-border-dark: rgba(212, 184, 122, 0.22);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  --glass-highlight-dark: inset 0 1px 0 rgba(212, 184, 122, 0.2);
  --glass-shadow: 0 8px 32px rgba(42, 26, 16, 0.1), 0 2px 12px rgba(139, 105, 20, 0.14);
  --glass-shadow-gold: 0 8px 32px rgba(139, 105, 20, 0.12), 0 2px 8px rgba(201, 168, 76, 0.15);
  --glass-shadow-dark: 0 16px 48px rgba(0, 0, 0, 0.28), 0 2px 8px rgba(0, 0, 0, 0.16);

  --shadow-soft: 0 4px 24px rgba(30, 18, 12, 0.06);
  --shadow-medium: 0 12px 48px rgba(30, 18, 12, 0.1);
  --shadow-deep: 0 24px 80px rgba(30, 18, 12, 0.18);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;

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

  --header-height: 76px;
  --content-max: 1080px;
  --site-gutter: clamp(32px, 6vw, 96px);
  --container: var(--content-max);
  --section-pad: clamp(48px, 7vw, 80px);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-card: 12px;

  --card-border: rgba(232, 223, 208, 0.95);
  --card-border-dark: rgba(255, 255, 255, 0.1);
  --shadow-card: 0 1px 2px rgba(30, 18, 12, 0.04), 0 6px 20px rgba(30, 18, 12, 0.05);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--theme-pearl);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    linear-gradient(145deg, var(--theme-pearl) 0%, var(--theme-cream) 30%, var(--theme-caramel) 62%, #E8D5A8 100%);
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.bg-orb-1 {
  width: 55vw;
  height: 55vw;
  max-width: 720px;
  max-height: 720px;
  top: -14%;
  left: -10%;
  background: rgba(92, 61, 48, 0.32);
}

.bg-orb-2 {
  width: 50vw;
  height: 50vw;
  max-width: 620px;
  max-height: 620px;
  top: 35%;
  right: -12%;
  background: rgba(201, 168, 76, 0.35);
}

.bg-orb-3 {
  width: 52vw;
  height: 52vw;
  max-width: 640px;
  max-height: 640px;
  bottom: -12%;
  left: 22%;
  background: rgba(196, 132, 58, 0.3);
}

.bg-orb-4 {
  width: 40vw;
  height: 40vw;
  max-width: 480px;
  max-height: 480px;
  top: 58%;
  left: -6%;
  background: rgba(212, 184, 122, 0.45);
}

/* Film grain overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.035;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  z-index: 10001;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  box-shadow: 0 0 12px var(--gold-glow);
  transition: width 0.1s linear;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(var(--content-max), calc(100% - 2 * var(--site-gutter)));
  margin-inline: auto;
}

/* ---- Preloader ---- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--midnight);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease-out), visibility 0.8s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
  color: var(--gold);
}

.preloader-star {
  font-size: 2rem;
  display: block;
  animation: preloader-pulse 1.5s ease-in-out infinite;
}

.preloader-inner p {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 1rem;
}

@keyframes preloader-pulse {
  0%, 100% { opacity: 0.5; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.header.scrolled {
  background: rgba(30, 18, 12, 0.55);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 32px rgba(0, 0, 0, 0.15);
}

.header.scrolled .nav {
  max-width: min(var(--content-max), calc(100% - 2 * var(--site-gutter)));
  margin-inline: auto;
  padding-inline: 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  height: calc(var(--header-height) - 16px);
  margin-top: 8px;
  padding-block: 0;
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: var(--glass-highlight-dark);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ivory);
  letter-spacing: 0.05em;
  transition: opacity 0.35s var(--ease-out);
}

.nav-logo:hover {
  opacity: 0.9;
}

.logo-star {
  color: var(--gold);
  font-size: 1rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(245, 240, 232, 0.75);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
  color: var(--gold-light);
}

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

.nav-link.active {
  color: var(--gold-light) !important;
}

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

.nav-cta {
  padding: 0.55rem 1.35rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--ivory) !important;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: var(--glass-highlight-dark);
  transition: all 0.35s var(--ease-out) !important;
}

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

.nav-cta:hover {
  background: var(--gold);
  color: var(--midnight) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, border-color 0.3s;
  z-index: 1002;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ivory);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  display: none;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--midnight) !important;
  border-color: transparent;
  box-shadow: 0 4px 20px var(--gold-glow);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.1rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.45s var(--ease-out);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--midnight);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(201, 168, 76, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: var(--ivory);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: var(--glass-highlight-dark);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(201, 168, 76, 0.08);
  transform: translateY(-3px);
}

.btn-amazon {
  background: linear-gradient(135deg, #e8870a 0%, #f0a030 100%);
  color: #1a1510;
  box-shadow: 0 4px 20px rgba(232, 135, 10, 0.28);
}

.btn-amazon:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(232, 135, 10, 0.38);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 0.875rem;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at 15% 45%, rgba(201, 168, 76, 0.18) 0%, transparent 52%),
    radial-gradient(ellipse 70% 90% at 88% 15%, rgba(196, 132, 58, 0.22) 0%, transparent 48%),
    radial-gradient(ellipse 55% 55% at 72% 85%, rgba(62, 39, 35, 0.85) 0%, transparent 58%),
    radial-gradient(ellipse 40% 35% at 50% 100%, rgba(212, 184, 122, 0.12) 0%, transparent 70%),
    linear-gradient(168deg, #120A06 0%, var(--midnight) 38%, var(--midnight-light) 100%);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 75% at 50% 45%, transparent 35%, rgba(18, 10, 6, 0.55) 100%),
    linear-gradient(180deg, rgba(18, 10, 6, 0.35) 0%, transparent 22%, transparent 78%, rgba(18, 10, 6, 0.65) 100%);
  pointer-events: none;
}

.hero-spotlight {
  position: absolute;
  top: 18%;
  right: 8%;
  width: min(52vw, 560px);
  height: min(70vh, 640px);
  background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.14) 0%, transparent 68%);
  filter: blur(40px);
  pointer-events: none;
  animation: spotlight-drift 14s ease-in-out infinite;
}

@keyframes spotlight-drift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.75; }
  50% { transform: translate(-24px, 16px) scale(1.06); opacity: 1; }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image:
    repeating-linear-gradient(45deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 52px),
    repeating-linear-gradient(-45deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 52px);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 75%);
}

#starCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: clamp(80px, 12vh, 140px);
  background: linear-gradient(to bottom, transparent, rgba(245, 237, 227, 0.35));
  pointer-events: none;
  z-index: 1;
}

/* ---- Hero Trust Marquee ---- */
.hero-trust {
  position: absolute;
  bottom: clamp(10px, 1.8vh, 20px);
  left: 0;
  right: 0;
  z-index: 4;
  overflow: hidden;
  padding: 0.35rem 0;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.hero-trust-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(48px, 8vw, 120px);
  z-index: 2;
  pointer-events: none;
}

.hero-trust-fade--left {
  left: 0;
  background: linear-gradient(90deg, rgba(30, 18, 12, 0.85), transparent);
}

.hero-trust-fade--right {
  right: 0;
  background: linear-gradient(270deg, rgba(30, 18, 12, 0.85), transparent);
}

.hero-trust-track {
  display: flex;
  width: max-content;
  animation: trustMarquee 38s linear infinite;
}

.hero-trust:hover .hero-trust-track {
  animation-play-state: paused;
}

.hero-trust-set {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-inline: 0.5rem;
  flex-shrink: 0;
}

.trust-card {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.82);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: trustFloat 5s ease-in-out infinite;
}

.trust-card:nth-child(1) { animation-delay: 0s; }
.trust-card:nth-child(2) { animation-delay: 0.4s; }
.trust-card:nth-child(3) { animation-delay: 0.8s; }
.trust-card:nth-child(4) { animation-delay: 1.2s; }
.trust-card:nth-child(5) { animation-delay: 1.6s; }
.trust-card:nth-child(6) { animation-delay: 2s; }
.trust-card:nth-child(7) { animation-delay: 2.4s; }
.trust-card:nth-child(8) { animation-delay: 2.8s; }

.trust-icon {
  flex-shrink: 0;
  font-size: 0.5625rem;
  color: rgba(201, 168, 76, 0.85);
  line-height: 1;
}

@keyframes trustMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes trustFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--header-height);
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  min-height: calc(100vh - var(--header-height) - 88px);
  min-height: calc(100dvh - var(--header-height) - 88px);
  padding: clamp(28px, 4vw, 56px) 0 clamp(64px, 7vw, 96px);
}

.hero-text {
  position: relative;
  text-align: left;
  max-width: 560px;
  justify-self: end;
  width: 100%;
  padding: clamp(2rem, 4vw, 2.85rem);
  border-radius: calc(var(--radius-lg) + 4px);
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(201, 168, 76, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(92, 61, 48, 0.12) 0%, transparent 50%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.05) 48%, rgba(255, 255, 255, 0.08) 100%),
    rgba(30, 18, 12, 0.35);
  backdrop-filter: blur(36px) saturate(2);
  -webkit-backdrop-filter: blur(36px) saturate(2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 2px solid rgba(201, 168, 76, 0.6);
  box-shadow:
    var(--glass-shadow-dark),
    var(--glass-highlight-dark),
    0 0 0 1px rgba(201, 168, 76, 0.08) inset,
    0 32px 64px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.hero-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 72px;
  background: radial-gradient(circle at top left, rgba(201, 168, 76, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-text::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -20%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(92, 61, 48, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.hero-text > * {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.9);
}

.hero-eyebrow::before {
  content: '';
  flex-shrink: 0;
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 168, 76, 0.2));
}

.hero-book {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  justify-self: start;
  width: 100%;
}

/* ---- Hero Book Mockup ---- */
.hero-mockup {
  position: relative;
  width: 100%;
  max-width: min(420px, 40vw);
  margin-inline: auto;
  line-height: 0;
  animation: mockup-float 7s ease-in-out infinite;
}

.hero-mockup-glow {
  display: none;
}

.hero-mockup-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.55));
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

@keyframes mockup-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.book-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.book-reflection {
  width: min(240px, 70%);
  height: 28px;
  margin-top: -6px;
  background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.22) 0%, transparent 72%);
  filter: blur(8px);
  transform: scaleY(0.55);
  opacity: 0.7;
}

.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin: 0 auto;
  padding-bottom: 0.5rem;
  color: rgba(245, 240, 232, 0.45);
  transition: color 0.35s ease;
}

.hero-scroll:hover {
  color: rgba(201, 168, 76, 0.85);
}

.hero-scroll-text {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(201, 168, 76, 0.65), transparent);
  animation: scroll-pulse 2.2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(1); opacity: 0.55; }
  50% { transform: scaleY(1.15); opacity: 1; }
}

.hero-in {
  opacity: 0;
  transform: translateY(22px);
  animation: heroIn 0.95s var(--ease-out) forwards;
}

.hero-text .hero-in:nth-child(1) { animation-delay: 0.08s; }
.hero-text .hero-in:nth-child(2) { animation-delay: 0.16s; }
.hero-text .hero-in:nth-child(3) { animation-delay: 0.24s; }
.hero-text .hero-in:nth-child(4) { animation-delay: 0.32s; }
.hero-text .hero-in:nth-child(5) { animation-delay: 0.4s; }
.hero-text .hero-in:nth-child(6) { animation-delay: 0.48s; }
.hero-text .hero-in:nth-child(7) { animation-delay: 0.56s; }
.hero-text .hero-in:nth-child(8) { animation-delay: 0.64s; }
.hero-text .hero-in:nth-child(9) { animation-delay: 0.72s; }
.hero-text .hero-in:nth-child(10) { animation-delay: 0.8s; }

.hero-in--late {
  animation-delay: 0.55s;
}

.hero-in--scroll {
  animation-delay: 1s;
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: var(--glass-highlight-dark);
  color: rgba(245, 240, 232, 0.9);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.title-line {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7.5vw, 6rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.015em;
  background: linear-gradient(135deg, var(--ivory) 0%, var(--gold-light) 42%, var(--ivory) 78%, var(--gold-light) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 10s ease-in-out infinite;
  text-shadow: none;
  filter: drop-shadow(0 2px 24px rgba(201, 168, 76, 0.15));
}

@keyframes shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 200% center; }
}

.title-sub {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2.5vw, 1.75rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(240, 224, 184, 0.92);
  margin-top: 0.85rem;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.hero-tagline {
  max-width: 100%;
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  font-weight: 300;
  color: rgba(245, 240, 232, 0.78);
  line-height: 1.85;
  letter-spacing: 0.01em;
}

.hero-lands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.15rem;
}

.hero-land {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.72);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin: clamp(1rem, 2.5vw, 1.35rem) 0;
  max-width: 100%;
}

.hero-divider::before,
.hero-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(201, 168, 76, 0.15) 20%,
    rgba(201, 168, 76, 0.45) 50%,
    rgba(201, 168, 76, 0.15) 80%,
    transparent 100%
  );
}

.hero-divider-mark {
  flex-shrink: 0;
  font-size: 0.5625rem;
  line-height: 1;
  color: rgba(201, 168, 76, 0.75);
  letter-spacing: 0.15em;
  text-shadow: 0 0 12px rgba(201, 168, 76, 0.35);
}

.hero-divider--subtle {
  margin: clamp(0.875rem, 2vw, 1.125rem) 0 0;
}

.hero-divider--subtle::before {
  flex: 1;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 35%,
    rgba(201, 168, 76, 0.28) 50%,
    rgba(255, 255, 255, 0.12) 65%,
    transparent 100%
  );
}

.hero-divider--subtle::after {
  display: none;
}

.hero-actions {
  display: flex;
  gap: 0.875rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.btn-hero {
  gap: 0.55rem;
  padding: 0.95rem 1.85rem;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
}

.btn-hero .btn-icon {
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-out);
}

.btn-primary.btn-hero:hover .btn-icon {
  transform: translateX(3px);
}

.hero-credits {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.75rem);
  flex-wrap: wrap;
}

.hero-credit {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-credit-label {
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.55);
}

.hero-credit-value {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(245, 240, 232, 0.82);
  letter-spacing: 0.03em;
}

.hero-credit-sep {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.18), transparent);
  flex-shrink: 0;
}

/* ---- Hero Book Cover ---- */
.book-scene {
  position: relative;
  perspective: 1200px;
  animation: book-float 7s ease-in-out infinite;
}

@keyframes book-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-8px) rotate(0.4deg); }
  50% { transform: translateY(-16px) rotate(0deg); }
  75% { transform: translateY(-8px) rotate(-0.4deg); }
}

.book-particles {
  position: absolute;
  inset: -30px;
  pointer-events: none;
  z-index: 0;
}

.book-particles span {
  position: absolute;
  font-size: 0.5rem;
  color: rgba(201, 168, 76, 0.35);
  animation: particle-orbit 12s ease-in-out infinite;
}

.book-particles span:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; font-size: 0.4rem; }
.book-particles span:nth-child(2) { top: 20%; right: 0; animation-delay: -2.5s; }
.book-particles span:nth-child(3) { bottom: 30%; left: -5%; animation-delay: -5s; font-size: 0.65rem; }
.book-particles span:nth-child(4) { bottom: 15%; right: 5%; animation-delay: -7.5s; }
.book-particles span:nth-child(5) { top: 45%; right: -8%; animation-delay: -10s; font-size: 0.35rem; }

@keyframes particle-orbit {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.35; }
  25% { transform: translate(6px, -10px) scale(1.2); opacity: 0.7; }
  50% { transform: translate(-4px, -18px) scale(1); opacity: 0.5; }
  75% { transform: translate(8px, -8px) scale(1.15); opacity: 0.65; }
}

.book-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 360px;
  height: 460px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(201, 168, 76, 0.38) 0%, transparent 68%);
  filter: blur(48px);
  pointer-events: none;
  animation: glow-pulse 5s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.65; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.book-3d {
  position: relative;
  width: clamp(260px, 28vw, 300px);
  height: clamp(390px, 42vw, 450px);
  transform: rotateY(calc(-22deg + var(--tilt-y, 0deg))) rotateX(calc(4deg + var(--tilt-x, 0deg)));
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease-out);
  animation: book-sway 9s ease-in-out infinite;
  z-index: 1;
}

@keyframes book-sway {
  0%, 100% {
    transform: rotateY(calc(-22deg + var(--tilt-y, 0deg))) rotateX(calc(4deg + var(--tilt-x, 0deg)));
  }
  50% {
    transform: rotateY(calc(-20deg + var(--tilt-y, 0deg))) rotateX(calc(6deg + var(--tilt-x, 0deg)));
  }
}

.book-spine {
  position: absolute;
  left: -18px;
  top: 0;
  width: 36px;
  height: 100%;
  background: linear-gradient(90deg, #2A1810 0%, #5C3D30 40%, #3E2723 100%);
  transform: rotateY(-90deg) translateZ(18px);
  transform-origin: right center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset -2px 0 8px rgba(0, 0, 0, 0.5);
}

.spine-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  white-space: nowrap;
}

.book-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
}

.book-cover {
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(201, 168, 76, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 90%, rgba(92, 61, 48, 0.22) 0%, transparent 50%),
    linear-gradient(165deg, #3E2723 0%, #2A1810 35%, #4A2E22 70%, #2A1810 100%);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(201, 168, 76, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.cover-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    repeating-linear-gradient(0deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 24px),
    repeating-linear-gradient(90deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 24px);
}

.cover-border {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(201, 168, 76, 0.45);
  pointer-events: none;
}

.cover-border::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(201, 168, 76, 0.18);
}

.cover-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.75rem;
  text-align: center;
}

.cover-ornament {
  font-size: 0.875rem;
  color: var(--gold);
  letter-spacing: 0.3em;
}

.cover-ornament.top {
  margin-bottom: 0.75rem;
}

.cover-ornament.bottom {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: rgba(201, 168, 76, 0.7);
}

.cover-ornament.bottom span {
  padding: 0.25rem 0.75rem;
  border-top: 1px solid rgba(201, 168, 76, 0.3);
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
}

.cover-genre {
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.75);
  margin-bottom: 0.5rem;
}

.cover-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 400;
  color: var(--ivory);
  line-height: 1;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.cover-subtitle {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--gold-light);
  line-height: 1.4;
  margin-bottom: 1.25rem;
  max-width: 200px;
}

.cover-star {
  width: 72px;
  height: 72px;
  color: var(--gold);
  margin-bottom: 1rem;
  animation: star-glow 4s ease-in-out infinite, cover-star-float 6s ease-in-out infinite;
}

@keyframes cover-star-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.05); }
}

.cover-star svg {
  width: 100%;
  height: 100%;
}

@keyframes star-glow {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(201, 168, 76, 0.4)); opacity: 0.85; }
  50% { filter: drop-shadow(0 0 16px rgba(201, 168, 76, 0.7)); opacity: 1; }
}

.cover-lands {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.55);
  margin-bottom: 0.75rem;
}

.land-dot {
  color: var(--gold-dark);
}

.cover-tagline {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-style: italic;
  color: rgba(245, 240, 232, 0.45);
  line-height: 1.5;
  margin-bottom: 1rem;
  max-width: 210px;
}

.cover-author {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  margin-top: auto;
}

.cover-publisher {
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.5);
  margin-top: 0.5rem;
}

.book-pages {
  right: -8px;
  left: auto;
  width: 16px;
  background: linear-gradient(90deg, #E8E0D4 0%, #F5F0E8 30%, #D4CAB8 60%, #E8E0D4 100%);
  transform: rotateY(90deg) translateZ(calc(100% - 8px));
  transform-origin: left center;
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.2);
}

.book-caption {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-style: italic;
  letter-spacing: 0.22em;
  color: rgba(201, 168, 76, 0.72);
}

.hero-meta {
  font-size: 0.8125rem;
  color: rgba(250, 247, 242, 0.4);
  letter-spacing: 0.06em;
  margin-bottom: 0;
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(22px) saturate(1.7);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  box-shadow: var(--glass-shadow-dark), var(--glass-highlight-dark);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.25rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--ivory);
  line-height: 1;
}

.stat-label {
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.45);
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.18);
}

.meta-divider {
  margin: 0 0.75rem;
  color: var(--gold-dark);
}

/* ---- Quote Banner ---- */
.quote-banner {
  width: 100%;
  padding: clamp(64px, 9vw, 110px) clamp(20px, 5vw, 64px);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(245, 237, 227, 0.5) 0%, rgba(232, 213, 168, 0.35) 42%, rgba(212, 184, 122, 0.3) 100%);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-block: 1px solid rgba(255, 255, 255, 0.45);
}

.quote-banner-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.quote-banner-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.75;
}

.quote-banner-orb--1 {
  top: -20%;
  left: -8%;
  width: min(520px, 55vw);
  height: min(420px, 45vw);
  background: radial-gradient(circle, rgba(92, 61, 48, 0.5) 0%, transparent 70%);
}

.quote-banner-orb--2 {
  top: 10%;
  right: -6%;
  width: min(480px, 50vw);
  height: min(380px, 40vw);
  background: radial-gradient(circle, rgba(201, 168, 76, 0.55) 0%, transparent 70%);
}

.quote-banner-orb--3 {
  bottom: -25%;
  left: 35%;
  width: min(560px, 58vw);
  height: min(320px, 35vw);
  background: radial-gradient(circle, rgba(196, 132, 58, 0.4) 0%, transparent 70%);
}

.quote-banner-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.quote-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 300px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(139, 105, 20, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.pull-quote {
  text-align: center;
  width: 100%;
  margin: 0 auto;
  position: relative;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 6vw, 5rem);
  border-radius: var(--radius-lg);
  background: var(--glass-tint-gold);
  backdrop-filter: var(--glass-blur) var(--glass-saturate);
  -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
  border: 1px solid var(--glass-border-gold);
  box-shadow: var(--glass-shadow-gold), var(--glass-highlight);
}

.quote-mark {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  line-height: 0.5;
  color: rgba(139, 105, 20, 0.22);
  margin-bottom: 1.25rem;
}

.pull-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 3.8vw, 2.75rem);
  font-weight: 400;
  font-style: italic;
  color: var(--midnight);
  line-height: 1.45;
  margin-bottom: 1.75rem;
  max-width: 34ch;
  margin-inline: auto;
}

.pull-quote cite {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  font-style: normal;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---- Sections ---- */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-header {
  margin-bottom: clamp(24px, 4vw, 40px);
  text-align: center;
}

.section-header.center {
  text-align: center;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.25rem;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.5));
}

.section-label::after {
  background: linear-gradient(90deg, rgba(201, 168, 76, 0.5), transparent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--midnight);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section-desc {
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.75;
  margin-inline: auto;
}

.hero-title {
  margin-bottom: 0;
}

/* ---- About ---- */
.about {
  background: transparent;
  position: relative;
}

.about::before {
  display: none;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.about-text .lead {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--midnight);
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.highlight-text {
  padding: 1.75rem 2rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--glass-border-gold);
  border-left: 3px solid var(--gold);
  background: var(--glass-tint-gold);
  backdrop-filter: var(--glass-blur) var(--glass-saturate);
  -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
  box-shadow: var(--glass-shadow-gold), var(--glass-highlight);
  font-family: var(--font-display);
  font-size: 1.1875rem;
  color: var(--midnight) !important;
  margin-top: 2rem;
}

/* ============================================
   GLASS CARD SYSTEM
   ============================================ */
.glass-light {
  background: var(--glass-tint-light);
  backdrop-filter: var(--glass-blur) var(--glass-saturate);
  -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
  border: 1px solid var(--glass-border-soft);
  box-shadow: var(--glass-shadow-gold), var(--glass-highlight);
}

.glass-warm {
  background: var(--glass-tint-warm);
  backdrop-filter: var(--glass-blur) var(--glass-saturate);
  -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
  border: 1px solid var(--glass-border-gold);
  box-shadow: var(--glass-shadow-gold), var(--glass-highlight);
}

.glass-gold {
  background: var(--glass-tint-gold);
  backdrop-filter: var(--glass-blur) var(--glass-saturate);
  -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
  border: 1px solid var(--glass-border-gold);
  box-shadow: var(--glass-shadow-gold), var(--glass-highlight);
}

.glass-dark {
  background: var(--glass-tint-dark);
  backdrop-filter: var(--glass-blur) var(--glass-saturate);
  -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
  border: 1px solid var(--glass-border-dark);
  box-shadow: var(--glass-shadow-dark), var(--glass-highlight-dark);
}

/* Hero text card stays visible while children animate in */
.hero-text {
  opacity: 1 !important;
}

.about-card {
  position: relative;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.about-card::before {
  display: none;
}

.card-num,
.land-number,
.timeline-chapters,
.section-label,
.hero-badge,
.hero-stats,
.buy-note,
.footer-meta,
.footer-buy-note,
.younger-role,
.info-label,
.detail-label,
.char-alias {
  display: none !important;
}

.card-icon-wrap {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 252, 248, 0.45);
  border: 1px solid var(--glass-border-gold);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--glass-highlight);
}

.card-icon {
  font-size: 1.125rem;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--midnight);
}

.about-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.about-card h3,
.about-card p,
.card-num {
  position: relative;
  z-index: 1;
}

.about-card,
.support-card,
.younger-card,
.character-card,
.timeline-content,
.dedication-block,
.thanks-item {
  background: var(--glass-tint-gold);
  backdrop-filter: var(--glass-blur) var(--glass-saturate);
  -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
  border: 1px solid var(--glass-border-gold);
  box-shadow: var(--glass-shadow-gold), var(--glass-highlight);
}

/* ---- Lands ---- */
.lands {
  background: transparent;
  color: var(--ivory);
  position: relative;
}

.lands::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(30, 18, 12, 0.55) 0%, rgba(62, 39, 35, 0.48) 100%);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  z-index: 0;
}

.lands .container {
  position: relative;
  z-index: 1;
}

.lands .section-label { color: rgba(245, 240, 232, 0.75); }
.lands .section-title { color: var(--ivory); }

.lands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.land-card {
  position: relative;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--glass-tint-brown);
  backdrop-filter: var(--glass-blur) var(--glass-saturate);
  -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
  border: 1px solid var(--glass-border-gold);
  box-shadow: var(--glass-shadow-dark), var(--glass-highlight-dark);
}

.land-card .land-glow {
  display: none;
}

.land-card::before,
.land-card::after {
  display: none;
}

.land-card > * {
  position: relative;
  z-index: 1;
}

.land-card h3 {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.land-hebrew {
  font-size: 0.9375rem;
  color: rgba(245, 240, 232, 0.7);
  margin-bottom: 0.65rem;
  direction: rtl;
}

.land-card p {
  font-size: 0.8125rem;
  color: rgba(245, 240, 232, 0.62);
  line-height: 1.6;
}

/* ---- Characters ---- */
.characters {
  background: transparent;
}

.character-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.35rem 1rem;
  align-items: start;
  padding: 1.2rem 1.35rem;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.char-portrait {
  grid-row: 1 / 4;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.15);
}

.char-portrait::before,
.char-portrait::after {
  display: none;
}

.char-shine,
.char-glow {
  display: none;
}

.char-portrait.hadassah {
  background: linear-gradient(160deg, var(--midnight) 0%, var(--midnight-lighter) 100%);
}

.char-portrait.vashti {
  background: linear-gradient(160deg, var(--burgundy) 0%, #4A1F2A 100%);
}

.char-portrait.makeda {
  background: linear-gradient(160deg, var(--terracotta) 0%, #8B4528 100%);
}

.char-initial {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: rgba(250, 247, 242, 0.25);
  position: relative;
  z-index: 1;
}

.char-group-title {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 500;
  color: var(--gold-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--glass-border-soft);
  text-align: center;
}

.characters .char-group-title:not(:first-of-type) {
  margin-top: 2.5rem;
}

.characters-grid.women {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.char-info {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.char-info h4 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: 0.15rem;
}

.char-alias {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.char-info p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.58;
}

/* Youngers */
.youngers-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.younger-card {
  text-align: left;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-card);
}

.younger-name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: 0.15rem;
}

.younger-role {
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.youngers-desc {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Supporting */
.supporting-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.support-card {
  position: relative;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.support-card::before {
  display: none;
}

.support-card h5 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: 0.35rem;
}

.support-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---- Themes ---- */
.themes {
  position: relative;
  background: transparent;
  color: var(--ivory);
  overflow: hidden;
}

.themes::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(30, 18, 12, 0.6) 0%, rgba(62, 39, 35, 0.52) 100%);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  z-index: 0;
}

.themes-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(201, 168, 76, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
}

.themes .container {
  position: relative;
  z-index: 1;
}

.themes .section-label { color: rgba(245, 240, 232, 0.7); }
.themes .section-title { color: var(--ivory); }

.themes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  position: relative;
}

.theme-item {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.25rem 0.875rem;
  align-items: start;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--glass-tint-dark);
  backdrop-filter: var(--glass-blur) var(--glass-saturate);
  -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
  border: 1px solid var(--glass-border-dark);
  box-shadow: var(--glass-shadow-dark), var(--glass-highlight-dark);
}

.theme-item::before {
  display: none;
}

.theme-icon {
  grid-row: 1 / 3;
  width: 40px;
  height: 40px;
  color: rgba(245, 240, 232, 0.85);
  margin-bottom: 0;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border-dark);
  position: relative;
  z-index: 1;
  box-shadow: var(--glass-highlight-dark);
}

.theme-icon svg {
  width: 100%;
  height: 100%;
}

.theme-item h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0;
  line-height: 1.25;
}

.theme-item p {
  grid-column: 2;
  font-size: 0.8125rem;
  color: rgba(245, 240, 232, 0.58);
  line-height: 1.55;
}

/* ---- Timeline / Journey ---- */
.journey {
  background: transparent;
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(201, 168, 76, 0.45), rgba(62, 39, 35, 0.35));
}

.timeline-item {
  position: relative;
  padding-bottom: 1.25rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-content {
  padding: 1.15rem 1.3rem;
  border-radius: var(--radius-card);
  margin-left: 1rem;
  overflow: hidden;
}

.timeline-marker {
  position: absolute;
  left: -40px;
  top: 1.25rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.4);
}

.timeline-chapters {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.timeline-content h4 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: 0.35rem;
}

.timeline-content p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  max-width: 650px;
  line-height: 1.58;
}

/* ---- Dedication ---- */
.dedication {
  background: transparent;
}

.dedication-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.dedication-block {
  position: relative;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.dedication-block::before {
  display: none;
}

.dedication-block h3 {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: 0.65rem;
}

.dedication-block p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.58;
}

/* ---- Author ---- */
.author {
  background: transparent;
}

.author-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.author-frame {
  position: relative;
  padding: 1rem;
}

.author-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 60%;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

.author-frame::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  height: 60%;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}

.author-photo-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: linear-gradient(160deg, var(--midnight) 0%, var(--midnight-lighter) 100%);
  border: 1px solid var(--glass-border-dark);
  box-shadow: var(--glass-shadow-dark), var(--glass-highlight-dark);
}

.author-photo-wrap--books {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(201, 162, 77, 0.12) 0%, transparent 70%),
    linear-gradient(160deg, var(--midnight) 0%, var(--midnight-lighter) 100%);
}

.author-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.author-photo--books {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.45));
}

.author-photo-fallback {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(201, 168, 76, 0.35);
  letter-spacing: 0.1em;
}

.author-caption {
  margin-top: 1.25rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-style: italic;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.author-content p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.author-note {
  margin: 2rem 0;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--glass-border-soft);
  border-left: 3px solid var(--gold);
  background: var(--glass-tint-light);
  backdrop-filter: var(--glass-blur) var(--glass-saturate);
  -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
  box-shadow: var(--glass-shadow-gold), var(--glass-highlight);
}

.author-note h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}

.author-note p {
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.author-signoff {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--midnight);
  margin-top: 2rem;
}

/* ---- Thanks ---- */
.thanks {
  background: transparent;
  padding-bottom: clamp(48px, 7vw, 80px);
}

/* ---- Books Available for Purchase ---- */
.books-intro {
  max-width: 36rem;
  margin: 0.75rem auto 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.books-showcase {
  max-width: 980px;
  margin-inline: auto;
}

.books-showcase-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) 1.18fr;
  gap: 0;
  isolation: isolate;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background:
    linear-gradient(145deg, rgba(255, 252, 248, 0.82) 0%, rgba(245, 237, 227, 0.58) 55%, rgba(237, 220, 180, 0.35) 100%);
  backdrop-filter: blur(28px) saturate(1.8);
  -webkit-backdrop-filter: blur(28px) saturate(1.8);
  box-shadow:
    0 30px 70px rgba(30, 18, 12, 0.14),
    0 8px 24px rgba(201, 168, 76, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  overflow: hidden;
}

.books-showcase-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(201, 168, 76, 0.85),
    rgba(255, 255, 255, 0.35) 35%,
    rgba(201, 168, 76, 0.2) 60%,
    rgba(232, 213, 168, 0.7)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 4;
}

.books-showcase-card::after {
  content: "";
  position: absolute;
  inset: -40% auto auto -20%;
  width: 55%;
  height: 80%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.16) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.books-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
  animation: books-orb-float 10s ease-in-out infinite;
}

.books-orb-1 {
  width: 160px;
  height: 160px;
  top: -40px;
  right: 12%;
  background: rgba(201, 168, 76, 0.28);
}

.books-orb-2 {
  width: 120px;
  height: 120px;
  bottom: 8%;
  right: -20px;
  background: rgba(160, 82, 45, 0.16);
  animation-delay: -3s;
}

.books-orb-3 {
  width: 90px;
  height: 90px;
  top: 42%;
  left: 38%;
  background: rgba(232, 213, 168, 0.22);
  animation-delay: -6s;
}

.books-grid-glow {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 70% at 70% 50%, #000 20%, transparent 75%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

@keyframes books-orb-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(8px, -12px, 0) scale(1.08); }
}

.books-showcase-book {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.25rem 1.5rem 2.35rem;
  min-height: 100%;
  background:
    radial-gradient(ellipse 90% 70% at 50% 42%, rgba(201, 168, 76, 0.22) 0%, transparent 62%),
    radial-gradient(circle at 20% 80%, rgba(92, 61, 48, 0.45) 0%, transparent 45%),
    linear-gradient(165deg, #1a100c 0%, #120b08 42%, #2a1a14 100%);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 96% 100%, 0 100%);
}

.books-showcase-book::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 20px;
  border: 1px solid rgba(201, 168, 76, 0.18);
  pointer-events: none;
}

.books-showcase-book::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(201, 168, 76, 0.35), transparent);
  pointer-events: none;
}

.books-live-pill {
  position: absolute;
  top: 1.35rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  border: 1px solid rgba(201, 168, 76, 0.35);
  background: rgba(18, 11, 8, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  white-space: nowrap;
}

.books-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6fdf8c;
  box-shadow: 0 0 0 0 rgba(111, 223, 140, 0.55);
  animation: books-live-pulse 1.8s ease-out infinite;
}

@keyframes books-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(111, 223, 140, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(111, 223, 140, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 223, 140, 0); }
}

.books-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  flex: 1;
  min-height: 320px;
}

.books-track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
}

.book-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 2.4rem 1.4rem 1.6rem;
  perspective: 1200px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s var(--ease-out), visibility 0.55s var(--ease-out);
  z-index: 0;
}

.book-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.books-real-book {
  position: relative;
  width: min(300px, 82%);
  height: auto;
  transform: rotateY(-22deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease-out);
  animation: books-float 5.5s ease-in-out infinite;
}

@keyframes books-float {
  0%, 100% { transform: rotateY(-22deg) rotateX(4deg) translateY(0); }
  50% { transform: rotateY(-22deg) rotateX(4deg) translateY(-8px); }
}

.books-showcase-book:hover .books-real-book {
  animation: none;
  transform: rotateY(-12deg) rotateX(2deg) translateY(-6px) scale(1.03);
}

.books-real-cover {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  line-height: 0;
  border-radius: 2px 5px 5px 2px;
  overflow: hidden;
  background: #111;
  box-shadow:
    inset -1px 0 0 rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    8px 14px 28px rgba(0, 0, 0, 0.45),
    2px 4px 10px rgba(0, 0, 0, 0.35);
  transform: translateZ(1px);
}

.book-slide-cover {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  vertical-align: top;
}

.books-real-spine {
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 100%;
  transform: rotateY(-90deg);
  transform-origin: left center;
  background:
    linear-gradient(
      90deg,
      #0a0a0a 0%,
      #1a1a1a 18%,
      #2c2418 42%,
      #1a1510 68%,
      #0d0d0d 100%
    );
  box-shadow: inset -2px 0 4px rgba(0, 0, 0, 0.5);
  border-radius: 2px 0 0 2px;
}

.books-real-pages {
  position: absolute;
  top: 3px;
  right: -14px;
  width: 16px;
  height: calc(100% - 6px);
  transform: rotateY(90deg);
  transform-origin: left center;
  background:
    repeating-linear-gradient(
      to right,
      #f4efe6 0px,
      #f4efe6 1px,
      #e8e0d2 1px,
      #e8e0d2 2px
    );
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
  border-radius: 0 2px 2px 0;
}

.books-real-shadow {
  position: absolute;
  left: 8%;
  right: -4%;
  bottom: -18px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.5) 0%, transparent 70%);
  transform: translateZ(-20px) rotateX(90deg);
  filter: blur(4px);
  pointer-events: none;
}

.books-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  min-height: 8px;
}

.books-showcase-book.is-single .books-dots {
  display: none;
}

.books-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(232, 213, 168, 0.28);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, width 0.3s;
}

.books-dot.is-active {
  width: 18px;
  border-radius: 100px;
  background: var(--gold);
}

.books-showcase-creator {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.95rem;
  padding: 1.75rem 2rem 1.6rem;
  background:
    linear-gradient(160deg, rgba(255, 252, 248, 0.5) 0%, rgba(245, 237, 227, 0.25) 100%);
  overflow: hidden;
}

.books-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 90% 80% at 70% 40%, #000 10%, transparent 75%);
  pointer-events: none;
  opacity: 0.7;
}

.books-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  pointer-events: none;
  z-index: 2;
}

.books-corner--tl {
  top: 12px;
  left: 12px;
  border-top: 2px solid rgba(201, 168, 76, 0.55);
  border-left: 2px solid rgba(201, 168, 76, 0.55);
}

.books-corner--tr {
  top: 12px;
  right: 12px;
  border-top: 2px solid rgba(201, 168, 76, 0.55);
  border-right: 2px solid rgba(201, 168, 76, 0.55);
}

.books-corner--bl {
  bottom: 12px;
  left: 12px;
  border-bottom: 2px solid rgba(201, 168, 76, 0.55);
  border-left: 2px solid rgba(201, 168, 76, 0.55);
}

.books-corner--br {
  right: 12px;
  bottom: 12px;
  border-right: 2px solid rgba(201, 168, 76, 0.55);
  border-bottom: 2px solid rgba(201, 168, 76, 0.55);
}

.books-ornament {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}

.books-ornament--sm {
  margin-bottom: 0.15rem;
}

.books-ornament-line {
  flex: 1;
  height: 1px;
  max-width: 70px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.7), transparent);
}

.books-ornament-diamond {
  width: 6px;
  height: 6px;
  rotate: 45deg;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.4);
}

.books-ornament-diamond--sm {
  width: 4px;
  height: 4px;
}

.books-creator-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.books-creator-photo-wrap {
  position: relative;
  flex-shrink: 0;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  overflow: visible;
  border: 2px solid rgba(201, 168, 76, 0.5);
  box-shadow:
    0 12px 28px rgba(30, 18, 12, 0.14),
    0 0 0 5px rgba(201, 168, 76, 0.1),
    0 0 28px rgba(201, 168, 76, 0.16);
}

.books-photo-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed rgba(201, 168, 76, 0.42);
  animation: books-ring-spin 20s linear infinite;
  pointer-events: none;
}

@keyframes books-ring-spin {
  to { transform: rotate(360deg); }
}

.books-creator-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, transparent 50%, rgba(30, 18, 12, 0.28));
  pointer-events: none;
  z-index: 2;
}

.books-creator-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  border-radius: 50%;
}

.books-creator-identity {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding-left: 0.85rem;
}

.books-identity-accent {
  position: absolute;
  left: 0;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
}

.books-creator-name {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 600;
  line-height: 1.12;
  margin-bottom: 0.25rem;
  letter-spacing: -0.015em;
  background: linear-gradient(120deg, var(--midnight) 20%, var(--gold-dark) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.books-creator-role {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.books-creator-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.books-meta-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.78rem;
  border-radius: 100px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 4px 14px rgba(201, 168, 76, 0.08);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--midnight-lighter);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s;
}

.books-meta-chip:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(201, 168, 76, 0.14);
}

.books-text-block {
  position: relative;
  z-index: 1;
  padding: 0.15rem 0 0.15rem 1rem;
}

.books-text-rail {
  position: absolute;
  left: 0;
  top: 0.15rem;
  bottom: 0.15rem;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, transparent, rgba(201, 168, 76, 0.65), transparent);
}

.books-creator-intro {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0;
}

.books-name-panel {
  position: relative;
  z-index: 1;
  padding: 1.05rem 1.15rem 1.05rem 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(201, 168, 76, 0.32);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82) 0%, rgba(245, 237, 227, 0.48) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 12px 30px rgba(30, 18, 12, 0.07);
  overflow: hidden;
}

.books-name-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--gold-light), var(--gold), var(--gold-dark));
}

.books-name-index {
  position: absolute;
  right: 14px;
  top: 10px;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(201, 168, 76, 0.16);
  letter-spacing: 0.04em;
  pointer-events: none;
}

.books-name-glow {
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.books-name-label {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.books-creator-book-name {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  font-style: italic;
  color: var(--midnight);
  line-height: 1.35;
  margin-bottom: 0;
  min-height: 2.7em;
  max-width: 92%;
}

.books-creator-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.books-creator-buy {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.55rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--midnight);
  background: linear-gradient(135deg, #f0e0b4 0%, #c9a84c 45%, #a8842e 100%);
  box-shadow:
    0 14px 32px rgba(201, 168, 76, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 0 0 4px rgba(201, 168, 76, 0.1);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.books-buy-shine {
  position: absolute;
  top: 0;
  left: -40%;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  animation: books-shine 3.2s ease-in-out infinite;
}

@keyframes books-shine {
  0%, 100% { left: -40%; }
  55% { left: 120%; }
}

.books-creator-buy:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 18px 40px rgba(201, 168, 76, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 0 0 5px rgba(201, 168, 76, 0.14);
}

.books-creator-buy .books-buy-icon {
  position: relative;
  z-index: 1;
  transition: transform 0.3s var(--ease-out);
}

.books-creator-buy span:not(.books-buy-shine) {
  position: relative;
  z-index: 1;
}

.books-creator-buy:hover .books-buy-icon {
  transform: translateX(4px);
}

.books-buy-note {
  margin-top: 0.55rem;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: rgba(110, 90, 74, 0.72);
}

.thanks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.thanks-item {
  text-align: left;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.thanks-item h5 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: 0.35rem;
}

.thanks-item p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---- Contact ---- */
.contact {
  position: relative;
  background: transparent;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(30, 18, 12, 0.55) 0%, rgba(62, 39, 35, 0.48) 100%);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  z-index: 0;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(201, 168, 76, 0.15) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 20% 30%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
}

.contact-content {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px);
  border-radius: var(--radius-lg);
  background: var(--glass-tint-brown);
  border: 1px solid var(--glass-border-gold);
  backdrop-filter: var(--glass-blur) var(--glass-saturate);
  -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
  box-shadow: var(--glass-shadow-dark), var(--glass-highlight-dark);
}

.contact .section-label { color: rgba(245, 240, 232, 0.7); }
.contact .section-title { color: var(--ivory); }

.contact-content > p {
  color: rgba(245, 240, 232, 0.65);
  font-size: 1.0625rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.contact-actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.buy-note {
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.45);
  margin-bottom: 2rem;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item {
  text-align: center;
}

.info-label {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.25rem;
}

.info-item span:last-child,
.info-item a {
  font-size: 0.9375rem;
  color: rgba(245, 240, 232, 0.7);
}

.info-item a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  transition: color 0.3s, text-decoration-color 0.3s;
}

.info-item a:hover {
  color: var(--ivory);
  text-decoration-color: rgba(255, 255, 255, 0.5);
}

/* ---- Footer ---- */
.footer {
  position: relative;
  background: transparent;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2rem);
  color: rgba(250, 247, 242, 0.6);
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--glass-tint-dark);
  backdrop-filter: var(--glass-blur) var(--glass-saturate);
  -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
  border-top: 1px solid var(--glass-border-dark);
  z-index: 0;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.footer-brand-block {
  text-align: left;
  max-width: 340px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 0.35rem;
  letter-spacing: 0.04em;
  transition: opacity 0.3s;
}

.footer-brand:hover {
  opacity: 0.85;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.0625rem;
  color: rgba(245, 240, 232, 0.75);
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: rgba(250, 247, 242, 0.48);
  margin-bottom: 1rem;
}

.footer-meta {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.38);
}

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

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.85);
  margin-bottom: 0.15rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: rgba(250, 247, 242, 0.52);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--ivory);
}

.footer-details {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-details li {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(250, 247, 242, 0.55);
}

.footer-details .detail-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.35);
}

.footer-details a {
  color: rgba(245, 240, 232, 0.75);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  transition: color 0.3s, text-decoration-color 0.3s;
}

.footer-details a:hover {
  color: var(--ivory);
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

.footer-cta {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 0.35rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s, border-color 0.3s;
}

.footer-cta:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--ivory);
}

.footer-buy-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}


.footer-cta-alt {
  background: rgba(232, 135, 10, 0.18);
  border-color: rgba(232, 135, 10, 0.35);
}

.footer-cta-alt:hover {
  background: rgba(232, 135, 10, 0.28);
  border-color: rgba(232, 135, 10, 0.5);
}

/* ---- Reveal Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal, .book-scene, .book-3d, .book-glow, .title-line, .cover-star,
  .hero-in, .hero-spotlight, .hero-scroll-line, .hero-trust-track, .trust-card,
  .preloader-star, .nav-menu, .nav-backdrop, .hero-mockup, .hero-mockup-glow,
  .books-orb, .books-real-book, .books-live-dot, .books-buy-shine {
    animation: none !important;
  }
  .reveal, .hero-in { opacity: 1; transform: none; }
  .nav-menu { transition: none; }
  .nav-backdrop { transition: none; }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  :root {
    --site-gutter: clamp(24px, 5vw, 48px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.75rem;
    padding-bottom: 2.5rem;
    min-height: auto;
  }

  .hero-text {
    text-align: center;
    max-width: min(560px, 100%);
    justify-self: center;
  }

  .hero-eyebrow {
    justify-content: center;
  }

  .hero-eyebrow::before {
    display: none;
  }

  .hero-lands {
    justify-content: center;
  }

  .hero-credits {
    justify-content: center;
  }

  .hero-book {
    justify-self: center;
    padding-inline: clamp(0.5rem, 3vw, 1.5rem);
  }

  .hero-mockup {
    max-width: min(460px, 92vw);
  }

  .hero-tagline { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { margin-inline: auto; }

  .hero-scroll {
    display: none;
  }

  .hero-trust {
    bottom: 8px;
    mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
  }

  .trust-card {
    font-size: 0.625rem;
    padding: 0.4rem 0.85rem;
  }

  .book-3d {
    transform: rotateY(-12deg) rotateX(3deg);
  }

  .about-grid { grid-template-columns: 1fr; }
  .lands-grid { grid-template-columns: 1fr; }
  .characters-grid.women { grid-template-columns: 1fr; }
  .youngers-grid { grid-template-columns: repeat(3, 1fr); }
  .supporting-grid { grid-template-columns: 1fr; }
  .themes-grid { grid-template-columns: repeat(2, 1fr); }
  .thanks-grid { grid-template-columns: repeat(2, 1fr); }
  .books-showcase-card {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .books-showcase-book {
    order: 1;
    border-right: none;
    padding: 3.25rem 1.25rem 2rem;
    min-height: 0;
    clip-path: none;
    overflow: visible;
  }

  .books-showcase-creator {
    order: 2;
    padding: 1.5rem 1.35rem 1.6rem;
    border-top: 1px solid rgba(201, 168, 76, 0.22);
  }

  .books-showcase-book::before {
    inset: 10px;
  }

  .books-showcase-book::after {
    display: none;
  }

  .books-viewport,
  .books-track {
    min-height: 0;
    height: auto;
    overflow: visible;
  }

  .book-slide {
    position: relative;
    inset: auto;
    display: none;
    padding: 0.5rem 0.75rem 0.75rem;
    perspective: none;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
  }

  .book-slide.is-active {
    display: flex;
    pointer-events: auto;
  }

  .books-real-book {
    width: min(220px, 68%);
    margin-inline: auto;
    transform: none;
    animation: none;
  }

  .books-showcase-book:hover .books-real-book {
    transform: none;
  }

  .books-real-spine,
  .books-real-pages,
  .books-real-shadow {
    display: none;
  }

  .books-real-cover {
    border-radius: 4px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
    transform: none;
  }

  .book-slide-cover {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .books-live-pill {
    top: 1rem;
  }

  .books-creator-header {
    gap: 0.85rem;
  }

  .books-creator-photo-wrap {
    width: 64px;
    height: 64px;
  }

  .books-creator-buy {
    width: 100%;
  }

  .books-orb-3 {
    display: none;
  }

  .books-corner {
    width: 16px;
    height: 16px;
  }
  .dedication-grid { grid-template-columns: 1fr; }
  .author-grid { grid-template-columns: 1fr; max-width: 500px; margin-inline: auto; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
    max-width: none;
    text-align: center;
  }

  .footer-brand { justify-content: center; }
  .footer-desc { max-width: 520px; margin-inline: auto; }
  .footer-buy-links { align-items: center; }
  .footer-cta { align-self: center; }

  .hero-stats { flex-wrap: wrap; justify-content: center; }
  .stat-item { padding: 0.5rem 1rem; }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  .header {
    background: rgba(30, 18, 12, 0.96);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  }

  .header.scrolled {
    background: rgba(30, 18, 12, 0.98);
  }

  .header .nav,
  .header.scrolled .nav {
    position: relative;
    z-index: 1002;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    margin-top: 0;
    padding-inline: 1rem;
    height: 100%;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .hero {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .hero-content {
    padding-top: var(--header-height);
    padding-inline: clamp(4px, 1.5vw, 10px);
    box-sizing: border-box;
  }

  .hero-grid {
    padding-top: 0;
    gap: 1.75rem;
    padding-inline: clamp(2px, 1vw, 6px);
  }

  .hero-text {
    border-radius: 14px;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    padding: 1.45rem 1.15rem 1.3rem;
    background:
      linear-gradient(155deg, rgba(46, 30, 22, 0.88) 0%, rgba(30, 18, 12, 0.84) 48%, rgba(42, 24, 16, 0.86) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 2px solid rgba(201, 168, 76, 0.52);
    box-shadow:
      0 10px 36px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(22px) saturate(1.7);
    -webkit-backdrop-filter: blur(22px) saturate(1.7);
  }

  .hero-tagline {
    padding-inline: 0.1rem;
  }

  .hero-divider {
    margin-inline: 0.15rem;
  }

  .hero-credits {
    padding-inline: 0.1rem;
  }

  .hero-mockup {
    max-width: min(340px, 92vw);
    margin-top: 0.25rem;
  }

  .nav-toggle { display: flex; }

  .nav-backdrop {
    display: block;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.82);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: none;
  }

  .nav-backdrop.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.nav-open .header {
    z-index: 1001;
  }

  .nav-menu {
    position: fixed;
    top: calc(var(--header-height) + 8px);
    right: max(var(--site-gutter), 16px);
    left: auto;
    bottom: auto;
    width: min(260px, calc(100vw - 32px));
    max-height: min(420px, calc(100dvh - var(--header-height) - 20px));
    padding: 0.35rem 0 0.5rem;
    margin: 0;
    list-style: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 14px;
    background: var(--midnight-light);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
      0 16px 48px rgba(0, 0, 0, 0.38),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(-6px) scale(0.97);
    transform-origin: top right;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.32s var(--ease-out),
      opacity 0.28s ease,
      visibility 0.32s;
    z-index: 1001;
  }

  .nav-menu.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu li:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 0.62rem 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-align: left;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.active {
    background: rgba(201, 168, 76, 0.08);
    color: var(--gold-light) !important;
    box-shadow: inset 3px 0 0 var(--gold);
  }

  .nav-menu .nav-cta {
    display: block;
    width: calc(100% - 1.25rem);
    margin: 0.45rem 0.625rem 0.15rem;
    padding: 0.58rem 1rem;
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    text-align: center;
  }

  .youngers-grid { grid-template-columns: repeat(2, 1fr); }
  .supporting-grid { grid-template-columns: 1fr; }
  .themes-grid { grid-template-columns: 1fr; }
  .thanks-grid { grid-template-columns: 1fr; }
  .contact-info { flex-direction: column; gap: 1.5rem; }

  .contact-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
  }

  .contact-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: none;
    padding: 0.95rem 0.5rem;
    font-size: 0.625rem;
    letter-spacing: 0.06em;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem 1.25rem;
    text-align: left;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
    text-align: left;
    max-width: none;
  }

  .footer-brand {
    justify-content: flex-start;
  }

  .footer-desc {
    max-width: none;
    margin-inline: 0;
  }

  .footer-col {
    align-items: flex-start;
  }

  .footer-links {
    align-items: flex-start;
  }

  .footer-details li {
    text-align: left;
  }

  .footer-buy-links {
    align-items: flex-start;
  }

  .footer-cta {
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  :root {
    --site-gutter: clamp(18px, 5vw, 28px);
  }

  .nav-menu {
    width: min(240px, calc(100vw - 24px));
    right: 12px;
    max-height: min(380px, calc(100dvh - var(--header-height) - 16px));
  }

  .nav-link {
    padding: 0.55rem 0.9rem;
    font-size: 0.6875rem;
  }

  .hero-mockup {
    max-width: min(340px, 96vw);
  }

  .hero-text {
    padding: 1.25rem 1rem 1.15rem;
    border-radius: 12px;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
  }

  .hero-actions .btn-hero {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: none;
    padding: 0.85rem 0.55rem;
    font-size: 0.5625rem;
    letter-spacing: 0.07em;
  }

  .btn { width: 100%; max-width: 280px; }
  .hero-actions .btn { width: auto; max-width: none; }
  .contact-actions .btn {
    width: auto;
    max-width: none;
    padding: 1.05rem 0.45rem;
    font-size: 0.625rem;
    letter-spacing: 0.05em;
  }

  .book-3d {
    width: 240px;
    height: 360px;
    transform: rotateY(-8deg) rotateX(2deg);
  }

  .book-glow {
    width: 260px;
    height: 360px;
  }

  .cover-title { font-size: 2.25rem; }

  .cover-star {
    width: 56px;
    height: 56px;
  }
}

@media (min-width: 1280px) {
  .hero-mockup {
    max-width: min(540px, 44vw);
  }
}
