/* ============================================================
   ZanziBooks & More — Celebrating African Stories
   CSS Design System — Literary Safari Aesthetic
   Author: inaffect AG / Micha Hänni
   Version: 1.0.0
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,300;1,9..144,400&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  /* Brand Colors */
  --forest:       #2F3A32;
  --forest-light: #3D5042;
  --forest-dark:  #1E2820;
  --forest-deep:  #141D16;
  --white:        #FFFFFF;
  --gold:         #C8973A;
  --gold-light:   #E0AF55;
  --gold-pale:    #F4E0B0;
  --sand:         #F4ECD8;
  --sand-dark:    #E8DBC0;
  --earth:        #8B6B3D;
  --earth-light:  #B08B5A;
  --text:         #1E1E1E;
  --text-muted:   #5A5A5A;
  --text-light:   #888888;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Outfit', system-ui, sans-serif;

  /* Type Scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.375rem;
  --text-2xl:  1.75rem;
  --text-3xl:  2.25rem;
  --text-4xl:  3rem;
  --text-5xl:  4rem;
  --text-6xl:  5.5rem;
  --text-7xl:  7.5rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --max-width: 1320px;
  --nav-height: 80px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:    cubic-bezier(0.64, 0, 0.78, 0);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-base: 350ms;
  --duration-slow: 600ms;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1), 0 12px 40px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15), 0 24px 80px rgba(0,0,0,0.08);
  --shadow-gold: 0 4px 24px rgba(200,151,58,0.3);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ── Language Toggle ──────────────────────────────────────── */
body.lang-de .text-en { display: none; }
body.lang-en .text-de { display: none; }

/* ── Progress Bar ─────────────────────────────────────────── */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--gold);
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
}

/* ── Skip Link ────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--gold);
  color: var(--forest-dark);
  padding: var(--space-2) var(--space-4);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ── Layout Utilities ─────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-8);
}

.section-pad {
  padding: var(--space-24) 0;
}

.section-pad-lg {
  padding: var(--space-32) 0;
}

/* ── African Pattern (SVG data URI) ───────────────────────── */
.pattern-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M40 2 L78 40 L40 78 L2 40Z' stroke='%23C8973A' stroke-opacity='0.1' stroke-width='1' fill='none'/%3E%3Ccircle cx='40' cy='40' r='2' fill='%23C8973A' fill-opacity='0.12'/%3E%3Ccircle cx='0' cy='0' r='1.5' fill='%23C8973A' fill-opacity='0.08'/%3E%3Ccircle cx='80' cy='0' r='1.5' fill='%23C8973A' fill-opacity='0.08'/%3E%3Ccircle cx='0' cy='80' r='1.5' fill='%23C8973A' fill-opacity='0.08'/%3E%3Ccircle cx='80' cy='80' r='1.5' fill='%23C8973A' fill-opacity='0.08'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.pattern-light {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 2 L58 30 L30 58 L2 30Z' stroke='%232F3A32' stroke-opacity='0.06' stroke-width='1' fill='none'/%3E%3Ccircle cx='30' cy='30' r='1.5' fill='%232F3A32' fill-opacity='0.06'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.site-header.scrolled {
  background: rgba(31, 40, 32, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(200,151,58,0.2), 0 4px 32px rgba(0,0,0,0.3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-8);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.nav-logo-image {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  filter: brightness(1.05);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-logo-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}

.nav-logo-claim {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  letter-spacing: 0.01em;
  transition: color var(--duration-fast), background var(--duration-fast);
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Nav Right */
.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
  border: 1px solid rgba(255,255,255,0.15);
}

.lang-btn {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) var(--ease-out);
}

.lang-btn:hover {
  color: var(--white);
}

.lang-btn.active {
  background: var(--gold);
  color: var(--forest-dark);
}

.lang-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* CTA Button */
.btn-nav-cta {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--forest-dark);
  background: var(--gold);
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-full);
  transition: all var(--duration-base) var(--ease-out);
  box-shadow: var(--shadow-gold);
}

.btn-nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 32px rgba(200,151,58,0.45);
}

.btn-nav-cta:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--duration-base) var(--ease-out);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.nav-mobile {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--forest-dark);
  padding: var(--space-8);
  transform: translateX(100%);
  transition: transform var(--duration-base) var(--ease-out);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  overflow-y: auto;
}

.nav-mobile.open {
  transform: translateX(0);
}

.nav-mobile a {
  font-size: var(--text-xl);
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--white);
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: block;
  transition: color var(--duration-fast);
}

.nav-mobile a:hover { color: var(--gold); }

.nav-mobile-footer {
  margin-top: auto;
  padding-top: var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100dvh;
  background-color: var(--forest);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M40 2 L78 40 L40 78 L2 40Z' stroke='%23C8973A' stroke-opacity='0.08' stroke-width='1' fill='none'/%3E%3Ccircle cx='40' cy='40' r='2' fill='%23C8973A' fill-opacity='0.1'/%3E%3Ccircle cx='0' cy='0' r='1.5' fill='%23C8973A' fill-opacity='0.06'/%3E%3Ccircle cx='80' cy='0' r='1.5' fill='%23C8973A' fill-opacity='0.06'/%3E%3Ccircle cx='0' cy='80' r='1.5' fill='%23C8973A' fill-opacity='0.06'/%3E%3Ccircle cx='80' cy='80' r='1.5' fill='%23C8973A' fill-opacity='0.06'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%,
    transparent 30%,
    rgba(20, 29, 22, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  padding: var(--space-20) 0;
}

.hero-text {
  max-width: 640px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-6);
  opacity: 0;
  transform: translateY(16px);
  animation: fadeInUp 0.7s var(--ease-out) 0.2s forwards;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 7vw, var(--text-7xl));
  font-weight: 600;
  line-height: 1.0;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-8);
  text-wrap: balance;
}

.hero-heading .word {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.05em;
}

.hero-heading .word-inner {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
}

.hero-heading .accent {
  color: var(--gold);
  font-style: italic;
}

.hero-heading-en {
  /* Appears via CSS display toggle (body.lang-en shows .text-en).
     No opacity animation needed — keeps language switching crisp. */
  display: inline;
}

.hero-tagline {
  font-size: var(--text-lg);
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: var(--space-10);
  max-width: 480px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s var(--ease-out) 1.2s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s var(--ease-out) 1.5s forwards;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  transition: all var(--duration-base) var(--ease-out);
  cursor: pointer;
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn-primary {
  font-size: var(--text-sm);
  color: var(--forest-dark);
  background: var(--gold);
  padding: 14px 32px;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(200,151,58,0.5);
}

.btn-primary:active { transform: translateY(0); }

.btn-outline {
  font-size: var(--text-sm);
  color: var(--white);
  background: transparent;
  padding: 13px 32px;
  border: 1.5px solid rgba(255,255,255,0.35);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.btn-ghost {
  font-size: var(--text-sm);
  color: var(--forest);
  background: transparent;
  padding: 10px 20px;
  border: 1.5px solid var(--forest);
}

.btn-ghost:hover {
  background: var(--forest);
  color: var(--white);
}

/* Hero Visual / Book Stack */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  opacity: 0;
  animation: fadeIn 1.2s var(--ease-out) 0.8s forwards;
}

.hero-book-stack {
  position: relative;
  width: 340px;
  height: 420px;
}

.hero-book {
  position: absolute;
  border-radius: 4px 10px 10px 4px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: flex-end;
  padding: var(--space-4);
  overflow: hidden;
  transition: transform var(--duration-slow) var(--ease-out);
}

.hero-book::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 14px;
  height: 100%;
  background: rgba(0,0,0,0.28);
  border-right: 1px solid rgba(0,0,0,0.2);
}

.hero-book-1 {
  width: 200px;
  height: 280px;
  bottom: 0;
  left: 60px;
  background: linear-gradient(145deg, #C84B1A 0%, #7A1A0A 100%);
  animation: bookFloat1 6s ease-in-out infinite;
  z-index: 3;
}

.hero-book-2 {
  width: 185px;
  height: 260px;
  bottom: 20px;
  left: 0;
  background: linear-gradient(145deg, #1A5C5C 0%, #0D3030 100%);
  transform: rotate(-8deg);
  animation: bookFloat2 7s ease-in-out 1s infinite;
  z-index: 2;
}

.hero-book-3 {
  width: 190px;
  height: 270px;
  bottom: 10px;
  right: 20px;
  background: linear-gradient(145deg, #4A1A6B 0%, #2A0A40 100%);
  transform: rotate(6deg);
  animation: bookFloat3 8s ease-in-out 2s infinite;
  z-index: 1;
}

.hero-book-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M20 2 L38 20 L20 38 L2 20Z' stroke='white' stroke-opacity='0.4' stroke-width='0.8' fill='none'/%3E%3C/svg%3E");
  background-size: 40px 40px;
}

.hero-book-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 2s forwards;
}

.hero-scroll-text {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(200,151,58,0.7), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

/* ============================================================
   STATS / TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--sand);
  border-top: 1px solid var(--sand-dark);
  border-bottom: 1px solid var(--sand-dark);
  padding: var(--space-8) 0;
}

.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-16);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

.trust-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
  letter-spacing: -0.04em;
}

.trust-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--earth);
}

.trust-divider {
  width: 1px;
  height: 48px;
  background: var(--sand-dark);
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header {
  margin-bottom: var(--space-16);
}

.section-header.centered {
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
}

.section-eyebrow.dark {
  color: var(--earth);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 600;
  color: var(--forest);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin-bottom: var(--space-4);
}

.section-heading.light {
  color: var(--white);
}

.section-heading .accent {
  color: var(--gold);
  font-style: italic;
}

.section-subheading {
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-subheading.light {
  color: rgba(255,255,255,0.65);
}

/* ============================================================
   BOOKS SECTION
   ============================================================ */
.books-section {
  background: var(--white);
}

.books-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.book-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  cursor: pointer;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s, transform 0.5s;
}

.book-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.book-card:hover .book-cover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.book-cover-wrap {
  position: relative;
  overflow: visible;
}

.book-cover {
  width: 100%;
  aspect-ratio: 2/3;
  border-radius: 3px 8px 8px 3px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--duration-slow) var(--ease-out),
              box-shadow var(--duration-slow) var(--ease-out);
}

.book-cover::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 16px;
  height: 100%;
  background: rgba(0,0,0,0.25);
  border-right: 1px solid rgba(0,0,0,0.15);
  z-index: 1;
}

.book-cover-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.25;
}

.book-cover-inner {
  position: absolute;
  inset: 0;
  padding: var(--space-4) var(--space-4) var(--space-4) calc(var(--space-4) + 12px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
}

.book-cover-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.book-cover-author {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.75);
  margin-top: 2px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* Book Cover Colors */
.book-terracotta { background: linear-gradient(145deg, #C84B1A, #7A1A0A); }
.book-teal       { background: linear-gradient(145deg, #1A6B6B, #0D3838); }
.book-crimson    { background: linear-gradient(145deg, #8B1A3A, #4A0A1E); }
.book-ocean      { background: linear-gradient(145deg, #1A3A7A, #0D1E4A); }
.book-amber      { background: linear-gradient(145deg, #C87A1A, #7A4A0A); }
.book-plum       { background: linear-gradient(145deg, #6B1A7A, #380A40); }
.book-olive      { background: linear-gradient(145deg, #4A6B1A, #2A3A0A); }
.book-forest     { background: linear-gradient(145deg, #2F3A32, #141D16); }

/* Book pattern overlays */
.pat-diamond { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M12 2 L22 12 L12 22 L2 12Z' stroke='white' stroke-opacity='0.35' stroke-width='0.8' fill='none'/%3E%3C/svg%3E"); background-size: 24px; }
.pat-chevron { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M2 8 L10 2 L18 8 M2 14 L10 8 L18 14' stroke='white' stroke-opacity='0.3' stroke-width='0.8' fill='none'/%3E%3C/svg%3E"); background-size: 20px; }
.pat-cross   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2 L10 18 M2 10 L18 10' stroke='white' stroke-opacity='0.2' stroke-width='0.8' fill='none'/%3E%3Ccircle cx='10' cy='10' r='2' fill='white' fill-opacity='0.2'/%3E%3C/svg%3E"); background-size: 20px; }
.pat-dots    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Ccircle cx='8' cy='8' r='1.5' fill='white' fill-opacity='0.25'/%3E%3C/svg%3E"); background-size: 16px; }

.book-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: 0 var(--space-1);
}

.book-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--forest);
  line-height: 1.3;
}

.book-author {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.book-category {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.book-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--forest);
  margin-top: var(--space-1);
  transition: gap var(--duration-fast), color var(--duration-fast);
}

.book-link:hover {
  color: var(--gold);
  gap: var(--space-2);
}

.books-cta {
  text-align: center;
  margin-top: var(--space-12);
}

/* ============================================================
   COLLECTIONS
   ============================================================ */
.collections-section {
  background: var(--forest);
  position: relative;
  overflow: hidden;
}

.collections-bg {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M40 2 L78 40 L40 78 L2 40Z' stroke='%23C8973A' stroke-opacity='0.06' stroke-width='1' fill='none'/%3E%3Ccircle cx='40' cy='40' r='2' fill='%23C8973A' fill-opacity='0.06'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  position: relative;
  z-index: 1;
}

.collection-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(200,151,58,0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
  opacity: 0;
  transform: translateY(20px);
}

.collection-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.collection-card:hover {
  background: rgba(200,151,58,0.1);
  border-color: rgba(200,151,58,0.5);
  transform: translateY(-4px);
}

.collection-icon {
  width: 52px;
  height: 52px;
  background: rgba(200,151,58,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.collection-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}

.collection-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  flex: 1;
}

.collection-count {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.collection-count::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section {
  background: var(--white);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-frame {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--sand);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--forest-light) 0%, var(--forest) 60%, var(--forest-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M60 4 L116 60 L60 116 L4 60Z' stroke='%23C8973A' stroke-opacity='0.15' stroke-width='2' fill='none'/%3E%3Cpath d='M60 20 L100 60 L60 100 L20 60Z' stroke='%23C8973A' stroke-opacity='0.12' stroke-width='1.5' fill='none'/%3E%3Cpath d='M60 36 L84 60 L60 84 L36 60Z' stroke='%23C8973A' stroke-opacity='0.2' stroke-width='1' fill='none'/%3E%3Ccircle cx='60' cy='60' r='8' fill='%23C8973A' fill-opacity='0.25'/%3E%3C/svg%3E");
  background-size: 120px;
  background-repeat: repeat;
}

.about-badge {
  position: absolute;
  bottom: var(--space-4);
  right: var(--space-4);
  width: 120px;
  height: 120px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  z-index: 2;
}

.about-badge-year {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--forest-dark);
  line-height: 1;
  letter-spacing: -0.04em;
}

.about-badge-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
  text-align: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.about-text p {
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
}

.about-text p strong {
  color: var(--forest);
  font-weight: 600;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.about-value {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--sand);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gold);
}

.about-value-icon {
  font-size: var(--text-xl);
  flex-shrink: 0;
  margin-top: 2px;
}

.about-value-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-value-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--forest);
}

.about-value-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   MANIFESTO / QUOTE
   ============================================================ */
.manifesto {
  background: var(--gold);
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.manifesto-inner {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 4.5vw, var(--text-5xl));
  font-weight: 600;
  color: var(--forest-dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: var(--space-6);
}

.manifesto-quote::before {
  content: '\201E';
  font-size: 1.2em;
  opacity: 0.4;
}

.manifesto-quote::after {
  content: '\201C';
  font-size: 1.2em;
  opacity: 0.4;
}

.manifesto-attr {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
  opacity: 0.7;
}

.manifesto-bg-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(80px, 20vw, 200px);
  font-weight: 700;
  color: rgba(47, 58, 50, 0.07);
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  letter-spacing: -0.05em;
}

/* ============================================================
   EVENTS
   ============================================================ */
.events-section {
  background: var(--white);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.event-card {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-out);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
}

.event-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.event-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.event-banner {
  height: 140px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-date-badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
  box-shadow: var(--shadow-sm);
}

.event-date-day {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
  letter-spacing: -0.03em;
}

.event-date-month {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.event-type-badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(0,0,0,0.4);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

.event-body {
  padding: var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.event-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--forest);
  line-height: 1.3;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.event-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

.event-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--forest);
  margin-top: var(--space-2);
  transition: all var(--duration-fast);
}

.event-link:hover {
  color: var(--gold);
  gap: var(--space-2);
}

/* Event Banner colors */
.event-forest { background: linear-gradient(135deg, var(--forest) 0%, var(--forest-dark) 100%); }
.event-earth  { background: linear-gradient(135deg, var(--earth) 0%, #5A3A1A 100%); }
.event-teal   { background: linear-gradient(135deg, #1A6B6B 0%, #0D3838 100%); }

.event-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 2 L58 30 L30 58 L2 30Z' stroke='white' stroke-opacity='0.08' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-size: 60px;
}

/* ============================================================
   AUTHORS SPOTLIGHT
   ============================================================ */
.authors-section {
  background: var(--sand);
  position: relative;
  overflow: hidden;
}

.authors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.author-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-8) var(--space-5);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-base) var(--ease-out);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
}

.author-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.author-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.author-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--forest);
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 2 L58 30 L30 58 L2 30Z' stroke='%23C8973A' stroke-opacity='0.2' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-size: 60px;
}

.author-avatar-initial {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  position: relative;
  z-index: 1;
}

.author-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--forest);
  line-height: 1.2;
}

.author-origin {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.author-bio {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
}

.author-books {
  font-size: var(--text-xs);
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

/* ============================================================
   STORIES / BLOG
   ============================================================ */
.stories-section {
  background: var(--forest);
  position: relative;
  overflow: hidden;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  position: relative;
  z-index: 1;
}

.story-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
  opacity: 0;
  transform: translateY(20px);
}

.story-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.story-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(200,151,58,0.4);
  transform: translateY(-4px);
}

.story-image {
  height: 200px;
  background: var(--forest-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.story-image-placeholder {
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cpath d='M50 4 L96 50 L50 96 L4 50Z' stroke='%23C8973A' stroke-opacity='0.15' stroke-width='1.5' fill='none'/%3E%3Cpath d='M50 20 L80 50 L50 80 L20 50Z' stroke='%23C8973A' stroke-opacity='0.12' stroke-width='1' fill='none'/%3E%3Ccircle cx='50' cy='50' r='5' fill='%23C8973A' fill-opacity='0.15'/%3E%3C/svg%3E");
  background-size: 100px;
  background-repeat: repeat;
}

.story-tag {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest-dark);
  background: var(--gold);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.story-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.story-date {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}

.story-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.story-excerpt {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gold);
  margin-top: var(--space-2);
  transition: all var(--duration-fast);
}

.story-link:hover { gap: var(--space-2); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section {
  background: var(--sand);
  position: relative;
  overflow: hidden;
}

.newsletter-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.newsletter-icon {
  font-size: 48px;
  margin-bottom: var(--space-6);
  display: block;
}

.newsletter-form {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.newsletter-input {
  flex: 1;
  height: 52px;
  padding: 0 var(--space-5);
  border: 2px solid var(--sand-dark);
  border-radius: var(--radius-full);
  background: var(--white);
  font-size: var(--text-base);
  color: var(--text);
  outline: none;
  transition: border-color var(--duration-fast);
}

.newsletter-input::placeholder {
  color: var(--text-light);
}

.newsletter-input:focus {
  border-color: var(--forest);
}

.newsletter-btn {
  height: 52px;
  padding: 0 var(--space-8);
  background: var(--forest);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--duration-base) var(--ease-out);
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: var(--forest-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.newsletter-btn:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}

.newsletter-privacy {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-4);
  line-height: 1.5;
}

/* Newsletter success message */
.newsletter-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-5);
  background: rgba(47,58,50,0.1);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(47,58,50,0.2);
  margin-top: var(--space-6);
  font-size: var(--text-base);
  color: var(--forest);
  font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--forest-deep);
  color: rgba(255,255,255,0.7);
  position: relative;
  overflow: hidden;
}

.footer-top {
  padding: var(--space-20) 0 var(--space-16);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(200,151,58,0.5);
  object-fit: cover;
}

.footer-logo-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social-link {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: var(--text-base);
  transition: all var(--duration-fast);
}

.footer-social-link:hover {
  background: var(--gold);
  color: var(--forest-dark);
  transform: translateY(-2px);
}

.footer-social-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.footer-col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  transition: color var(--duration-fast);
}

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

.footer-links a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-bottom {
  padding: var(--space-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
}

.footer-copy a {
  color: rgba(255,255,255,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: color var(--duration-fast);
}

.footer-copy a:hover { color: var(--white); }

.footer-legal {
  display: flex;
  gap: var(--space-6);
}

.footer-legal a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  transition: color var(--duration-fast);
}

.footer-legal a:hover { color: rgba(255,255,255,0.7); }

.footer-bg-text {
  position: absolute;
  bottom: -0.2em;
  right: -0.05em;
  font-family: var(--font-display);
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.05em;
  line-height: 1;
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

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

@keyframes bookFloat2 {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-8px) rotate(-8deg); }
}

@keyframes bookFloat3 {
  0%, 100% { transform: translateY(0) rotate(6deg); }
  50% { transform: translateY(-10px) rotate(6deg); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .books-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}

@media (max-width: 1024px) {
  :root { --nav-height: 68px; }

  .nav-links, .btn-nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text { max-width: 100%; }
  .hero-tagline { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: var(--space-12); }
  .about-image { max-width: 480px; margin: 0 auto; }

  .collections-grid { grid-template-columns: repeat(2, 1fr); }
  .authors-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 var(--space-5); }
  .section-pad { padding: var(--space-16) 0; }
  .section-pad-lg { padding: var(--space-20) 0; }

  .trust-items { gap: var(--space-8); }
  .trust-divider { display: none; }

  .books-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
  .books-header { flex-direction: column; align-items: flex-start; }

  .collections-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .authors-grid { grid-template-columns: repeat(2, 1fr); }
  .stories-grid { grid-template-columns: 1fr; }

  .newsletter-form { flex-direction: column; }
  .newsletter-btn { width: 100%; height: 48px; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
}

@media (max-width: 480px) {
  .books-grid { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
  .authors-grid { grid-template-columns: 1fr; }

  .hero-heading {
    font-size: var(--text-4xl);
  }
}

/* ── Prefers reduced motion ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }

  .hero-heading .word-inner,
  .hero-eyebrow,
  .hero-tagline,
  .hero-actions,
  .hero-visual,
  .hero-scroll {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ── Screen Reader Only ───────────────────────────────────── */
.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;
}

/* ── Print ────────────────────────────────────────────────── */
@media print {
  .site-header, .hero-scroll, #progress-bar, .newsletter-section { display: none; }
  body { color: #000; background: #fff; }
}
