/*
Theme Name: DayStar Publishers
Theme URI: https://daystarpublishers.com
Author: DayStar Publishers
Author URI: https://daystarpublishers.com
Description: Premium African scholarly publishing theme — rebuilt 2026. Fluid animations, modern layout, full Theme Settings image persistence, SEO-ready, security-hardened.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: daystar
Requires at least: 6.0
Requires PHP: 8.0
*/

/* ═══════════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════════ */
:root {
  --burgundy:       #4a1020;
  --burgundy-mid:   #6b1a2e;
  --burgundy-light: #8c2a3e;
  --gold:           #c9a84c;
  --gold-light:     #e8c96a;
  --gold-pale:      #f5e9c8;
  --cream:          #faf6ee;
  --cream-dark:     #f0e8d4;
  --ink:            #1a1008;
  --ink-mid:        #3d2b1a;
  --text-muted:     #7a6250;
  --border:         rgba(74,16,32,0.12);
  --serif:          'Cormorant Garamond', Georgia, serif;
  --sans:           'Inter', sans-serif;
  --display:         'Outfit', sans-serif;
  --ease:           cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm:      0 2px 8px rgba(74,16,32,0.08);
  --shadow-md:      0 8px 32px rgba(74,16,32,0.12);
  --shadow-lg:      0 24px 64px rgba(74,16,32,0.18);
}

/* ═══════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); font-weight: 400;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; }

/* ═══════════════════════════════════════════════
   SCROLL REVEAL — base state
   ═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ═══════════════════════════════════════════════
   TYPOGRAPHY HELPERS
   ═══════════════════════════════════════════════ */
.section-kicker {
  font-family: var(--display); font-weight: 600;
  font-size: 10px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--burgundy-light);
  margin-bottom: 14px; display: flex; align-items: center; gap: 14px;
}
.section-kicker::before {
  content: ''; width: 28px; height: 1px;
  background: currentColor; display: inline-block; flex-shrink: 0;
}
.kicker-light { color: var(--gold) !important; }
.kicker-light::before { background: var(--gold) !important; }

.section-h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 600; color: var(--burgundy); line-height: 1.08; margin-bottom: 20px;
}
.section-lead {
  font-size: 17px; font-weight: 300;
  color: var(--text-muted); max-width: 560px; line-height: 1.85;
}

/* ═══════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(250,246,238,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 5vw;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  transition: box-shadow 0.3s var(--ease), background 0.3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(74,16,32,0.1); }
.nav-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo   { height: 48px; width: auto; }
.nav-brand-text { font-family: var(--display); font-weight: 800; font-size: 19px; font-weight: 600; color: var(--burgundy); line-height: 1; }
.nav-brand-sub  { font-family: var(--sans); font-size: 9px; font-weight: 400; color: var(--text-muted); letter-spacing: 0.13em; text-transform: uppercase; display: block; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 500; font-family: var(--display); color: var(--ink-mid);
  text-decoration: none; letter-spacing: 0.04em;
  transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0; height: 1px;
  background: var(--burgundy); transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:hover, .nav-links a.active { color: var(--burgundy); }
.nav-cta {
  font-family: var(--display) !important; font-weight: 700 !important;
  background: var(--burgundy) !important; color: var(--gold-light) !important;
  padding: 10px 22px; border-radius: 2px; font-size: 11px !important;
  font-weight: 500 !important; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 0.25s, transform 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--burgundy-mid) !important; transform: translateY(-1px); }
.nav-hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--burgundy); transition: 0.3s; }
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile menu */
.nav-mobile {
  display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--cream); z-index: 999; flex-direction: column;
  padding: 32px 5vw; gap: 4px; overflow-y: auto;
  transform: translateX(100%); transition: transform 0.35s var(--ease);
}
.nav-mobile.open { transform: translateX(0); display: flex; }
.nav-mobile a {
  font-size: 22px; font-family: var(--serif); font-weight: 500;
  color: var(--burgundy); text-decoration: none; padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, padding-left 0.2s;
}
.nav-mobile a:hover { padding-left: 8px; color: var(--burgundy-mid); }
.nav-mobile a.nav-cta {
  margin-top: 16px; border-radius: 2px; text-align: center;
  padding: 16px; font-size: 14px !important; letter-spacing: 0.1em;
}

/* ═══════════════════════════════════════════════
   PAGE WRAPPER
   ═══════════════════════════════════════════════ */
.page-content { padding-top: 68px; }
section { padding: 100px 5vw; }

/* ═══════════════════════════════════════════════
   PAGE HERO (inner pages)
   ═══════════════════════════════════════════════ */
.page-hero {
  background: var(--burgundy);
  padding: 90px 5vw 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.08) 0%, transparent 60%),
    repeating-linear-gradient(-45deg, transparent, transparent 60px,
      rgba(201,168,76,0.025) 60px, rgba(201,168,76,0.025) 61px);
}
.page-hero-kicker {
  font-size: 10px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
  display: flex; align-items: center; gap: 14px; position: relative; z-index: 1;
}
.page-hero-kicker::before { content: ''; width: 28px; height: 1px; background: var(--gold); flex-shrink: 0; }
.page-hero h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 600; color: #fff; line-height: 1.05; margin-bottom: 18px;
  position: relative; z-index: 1;
}
.page-hero h1 em { font-style: italic; color: var(--gold-light); }
.page-hero p { font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.65); max-width: 540px; line-height: 1.85; position: relative; z-index: 1; }


/* Hero Parallax */
.hero-parallax-bg {
  position: absolute;
  top: -20%; left: 0; right: 0; bottom: -20%;
  height: 140%;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  will-change: transform;
}

/* ═══════════════════════════════════════════════
   HOME HERO
   ═══════════════════════════════════════════════ */
.hero-bg-parallax {
  position: absolute; inset: -20%; width: 100%; height: 140%;
  background-size: cover; background-position: center; background-attachment: fixed;
  will-change: transform; transition: transform 0.1s linear;
}
.hero {
  min-height: 94vh; background: var(--burgundy);
  display: flex; align-items: center; position: relative; overflow: hidden;
  padding: 0 5vw !important;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(201,168,76,0.1) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(201,168,76,0.06) 0%, transparent 50%),
    repeating-linear-gradient(-45deg, transparent, transparent 60px,
      rgba(201,168,76,0.02) 60px, rgba(201,168,76,0.02) 61px);
  pointer-events: none;
}
/* Floating particles */
.hero::after {
  content: '✦ ✦ ✦';
  position: absolute; bottom: 40px; right: 5vw;
  font-size: 8px; color: rgba(201,168,76,0.2); letter-spacing: 12px;
  animation: particleFloat 6s ease-in-out infinite;
}
@keyframes particleFloat {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(-12px); opacity: 0.6; }
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; width: 100%; position: relative; z-index: 2;
  padding: 130px 0 90px;
}
.hero-kicker {
  font-size: 10px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 14px; margin-bottom: 26px;
}
.hero-kicker::before { content: ''; width: 28px; height: 1px; background: var(--gold); flex-shrink: 0; }
.hero-h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(42px, 5.5vw, 82px);
  font-weight: 600; color: #fff; line-height: 1.02; margin-bottom: 26px;
}
.hero-h1 em { font-style: italic; color: var(--gold-light); }
.hero-lead { font-size: 17px; font-weight: 300; color: rgba(255,255,255,0.65); line-height: 1.85; margin-bottom: 44px; max-width: 440px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold); color: var(--ink);
  padding: 14px 32px; border-radius: 2px; text-decoration: none;
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.3); }
.btn-outline {
  border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.8);
  padding: 14px 32px; border-radius: 2px; text-decoration: none;
  font-size: 12px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.05); }

/* Book stack */
.hero-book-stack { display: flex; gap: 20px; justify-content: center; align-items: flex-end; }
.hero-book {
  background: var(--cream-dark); border-radius: 4px;
  aspect-ratio: 2/3; flex-shrink: 0; overflow: hidden;
  box-shadow: 12px 16px 40px rgba(0,0,0,0.5);
  transition: transform 0.4s var(--ease);
}
.hero-book:hover { transform: translateY(-8px) rotate(0deg) !important; }
.hero-book img { width: 100%; height: 100%; object-fit: cover; }
.hero-book:nth-child(1) { width: 140px; transform: rotate(-4deg) translateY(8px); }
.hero-book:nth-child(2) { width: 165px; }
.hero-book:nth-child(3) { width: 130px; transform: rotate(3.5deg) translateY(12px); }

/* ═══════════════════════════════════════════════
   MISSION STRIP
   ═══════════════════════════════════════════════ */
.mission-strip {
  background: var(--gold-pale); padding: 52px 5vw;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px;
  border-top: 1px solid rgba(201,168,76,0.3);
  border-bottom: 1px solid rgba(201,168,76,0.3);
}
.mission-item { text-align: center; }
.mission-item-icon {
  width: 48px; height: 48px; background: var(--burgundy); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.mission-item-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.mission-item h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--burgundy); margin-bottom: 8px; }
.mission-item p  { font-size: 14px; color: var(--text-muted); line-height: 1.75; }

/* ═══════════════════════════════════════════════
   HOME ABOUT
   ═══════════════════════════════════════════════ */
.home-about { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.home-about-img { position: relative; }
.home-about-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 3px; }
.home-about-img::after {
  content: ''; position: absolute; inset: -12px -12px 12px 12px;
  border: 1px solid var(--gold); border-radius: 3px; z-index: -1; opacity: 0.4;
  transition: opacity 0.3s;
}
.home-about-img:hover::after { opacity: 0.8; }
.home-about-badge {
  position: absolute; bottom: -28px; right: -28px;
  background: var(--burgundy); color: var(--gold); padding: 28px;
  border-radius: 3px; text-align: center;
  box-shadow: var(--shadow-lg);
}
.home-about-badge .num { font-family: var(--serif); font-size: 40px; font-weight: 600; display: block; line-height: 1; }
.home-about-badge .lbl { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 4px; display: block; }
.home-about-text ul { list-style: none; margin: 28px 0 36px; }
.home-about-text li {
  padding: 12px 0; border-bottom: 1px solid var(--border);
  font-size: 15px; color: var(--ink-mid); display: flex; align-items: center; gap: 14px;
  transition: padding-left 0.2s;
}
.home-about-text li:hover { padding-left: 6px; }
.home-about-text li::before { content: '—'; color: var(--gold); flex-shrink: 0; }

/* ═══════════════════════════════════════════════
   FEATURED BOOKS
   ═══════════════════════════════════════════════ */
.featured-books { background: var(--cream-dark); }
.books-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-top: 40px;
}
.book-card {
  background: var(--cream); border-radius: 3px; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  box-shadow: var(--shadow-sm);
}
.book-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.book-cover { overflow: hidden; width: 100%; }
.book-cover img { width: 100%; height: auto; display: block; transition: transform 0.5s var(--ease); }
.book-card:hover .book-cover img { transform: scale(1.06); }
.book-info { padding: 8px 10px; }
.book-genre { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--burgundy-light); margin-bottom: 8px; }
.book-title { font-family: var(--display); font-size: 12px; font-weight: 600; color: var(--burgundy); line-height: 1.25; margin-bottom: 3px; }
.book-author { font-size: 10px; color: var(--text-muted); margin-bottom: 7px; }
.book-link {
  font-size: 9px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--burgundy); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.2s;
}
.book-link:hover { gap: 10px; }
.book-link::after { content: '→'; }

/* ═══════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════ */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 52px; }
.testi-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px; padding: 36px;
  transition: background 0.3s, transform 0.3s var(--ease);
}
.testi-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-4px); }
.testi-quote-mark { font-family: var(--serif); font-size: 48px; color: var(--gold); line-height: 1; margin-bottom: -8px; opacity: 0.6; }
.testi-quote { font-family: var(--serif); font-size: 17px; font-style: italic; color: rgba(255,255,255,0.85); line-height: 1.75; margin-bottom: 28px; }
.testi-divider { width: 32px; height: 1px; background: var(--gold); margin-bottom: 16px; opacity: 0.5; }
.testi-author { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.testi-role   { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 4px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(201,168,76,0.3); margin-bottom: 16px; }

/* ═══════════════════════════════════════════════
   NEWSLETTER
   ═══════════════════════════════════════════════ */
.newsletter {
  background: var(--gold-pale); border-top: 1px solid rgba(201,168,76,0.3);
  padding: 60px 5vw; display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap;
}
.newsletter-text h3 { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--burgundy); margin-bottom: 8px; }
.newsletter-text p  { font-size: 14px; color: var(--text-muted); }
.newsletter-form { display: flex; gap: 0; }
.newsletter-input {
  padding: 14px 20px; border: 1px solid var(--border); background: var(--cream);
  font-family: var(--sans); font-size: 14px; color: var(--ink);
  border-radius: 2px 0 0 2px; outline: none; width: 300px;
  transition: border-color 0.2s;
}
.newsletter-input:focus { border-color: var(--burgundy); }
.newsletter-btn {
  background: var(--burgundy); color: var(--gold-light); border: none;
  padding: 14px 28px; font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
  border-radius: 0 2px 2px 0; transition: background 0.25s;
}
.newsletter-btn:hover { background: var(--burgundy-mid); }

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
footer { background: var(--ink); color: rgba(255,255,255,0.65); padding: 80px 5vw 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 64px; margin-bottom: 60px; }
.footer-logo { height: 48px; width: auto; margin-bottom: 20px; }
.footer-brand h3 { font-family: var(--display); font-weight: 800; font-size: 21px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.footer-brand .tagline { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; display: block; }
.footer-brand p { font-size: 13px; line-height: 1.85; }
.social-links { display: flex; gap: 10px; margin-top: 28px; }
.social-link {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.12); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,0.45); text-decoration: none;
  transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.2s;
}
.social-link:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.footer-col h4 { font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a  { font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s, padding-left 0.2s; display: inline-block; }
.footer-col a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════ */
.about-mission { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.about-mission img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 3px; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 52px; }
.value-card {
  background: var(--cream-dark); padding: 40px; border-radius: 3px;
  border-left: 3px solid var(--gold);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card h3 { font-family: var(--serif); font-size: 23px; font-weight: 600; color: var(--burgundy); margin-bottom: 12px; }
.value-card p  { font-size: 15px; color: var(--text-muted); line-height: 1.85; }

/* ═══════════════════════════════════════════════
   SERVICES PAGE
   ═══════════════════════════════════════════════ */
.svc-row { display: grid; grid-template-columns: 200px 1fr; gap: 72px; align-items: start; max-width: 1100px; margin: 0 auto; }
.svc-row--reverse { direction: rtl; }
.svc-row--reverse > * { direction: ltr; }
.svc-icon-col { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-top: 8px; }
.svc-number-badge { font-family: var(--serif); font-size: 80px; font-weight: 700; color: var(--border); line-height: 1; letter-spacing: -0.02em; user-select: none; }
.svc-icon-circle { width: 88px; height: 88px; background: var(--burgundy); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.3s var(--ease); }
.svc-icon-circle:hover { transform: scale(1.08); }
.services-cta { text-align: center; background: var(--burgundy); padding: 100px 5vw; }
.services-cta .section-kicker {
  font-family: var(--display); font-weight: 600; justify-content: center; }
.services-cta .section-h2 { color: #fff; text-align: center; max-width: 620px; margin: 0 auto 24px; }
.services-cta p { color: rgba(255,255,255,0.65); text-align: center; margin-bottom: 44px; }

/* ═══════════════════════════════════════════════
   CATALOGUE PAGE
   ═══════════════════════════════════════════════ */
.catalogue-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 52px; }
.filter-btn {
  padding: 9px 22px; border: 1px solid var(--border); background: transparent;
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-mid); cursor: pointer; border-radius: 2px;
  transition: all 0.25s; white-space: nowrap;
}
.filter-btn:hover, .filter-btn.active { background: var(--burgundy); border-color: var(--burgundy); color: var(--gold-light); }
.catalogue-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }

/* ═══════════════════════════════════════════════
   GALLERY PAGE
   ═══════════════════════════════════════════════ */
.gallery-grid { columns: 3; gap: 24px; margin-top: 52px; }
.gallery-item { break-inside: avoid; margin-bottom: 24px; overflow: hidden; border-radius: 3px; }
.gallery-item img { width: 100%; display: block; transition: transform 0.5s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }

/* ═══════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 88px; align-items: start; }
.contact-info-item { display: flex; gap: 20px; margin-bottom: 40px; }
.contact-info-icon { width: 48px; height: 48px; background: var(--gold-pale); border-radius: 3px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.2s; }
.contact-info-item:hover .contact-info-icon { background: var(--cream-dark); }
.contact-info-label { font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.contact-info-value { font-size: 15px; color: var(--ink-mid); }
.contact-info-value a { text-decoration: none; transition: color 0.2s; }
.contact-info-value a:hover { color: var(--burgundy); }
.contact-form-wrap { background: var(--cream-dark); padding: 52px; border-radius: 3px; box-shadow: var(--shadow-md); }
.contact-form-wrap h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--burgundy); margin-bottom: 32px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.form-control {
  width: 100%; padding: 13px 16px; border: 1px solid var(--border);
  background: var(--cream); font-family: var(--sans); font-weight: 400; font-size: 14px;
  color: var(--ink); border-radius: 2px; outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  -webkit-appearance: none; appearance: none;
}
.form-control:focus { border-color: var(--burgundy); box-shadow: 0 0 0 3px rgba(74,16,32,0.06); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237a6250' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.btn-submit {
  width: 100%; background: var(--burgundy); color: var(--gold-light); border: none;
  padding: 17px; font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
  border-radius: 2px; transition: background 0.25s, transform 0.2s;
}
.btn-submit:hover { background: var(--burgundy-mid); transform: translateY(-1px); }

/* ═══════════════════════════════════════════════
   AFRICAN DREAM PAGE
   ═══════════════════════════════════════════════ */
.ad-filter-bar { display: flex; gap: 6px; padding: 20px 0; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.ad-filter-bar::-webkit-scrollbar { display: none; }
.ad-filter-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 40px; font-size: 12px; font-weight: 500;
  color: var(--ink-mid); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; transition: all 0.25s; background: transparent;
}
.ad-filter-btn:hover { background: var(--cream-dark); color: var(--burgundy); border-color: var(--border); }
.ad-filter-btn.active { background: var(--burgundy); color: var(--gold-light); border-color: var(--burgundy); }
.ad-filter-icon { display: flex; align-items: center; opacity: 0.75; }
.ad-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px; }
.ad-card { background: #fff; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); cursor: pointer; }
.ad-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.ad-card-img { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--burgundy); max-height: 200px; }
.ad-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: right center; transition: transform 0.5s var(--ease); }
.ad-card:hover .ad-card-img img { transform: scale(1.06); }
.ad-card-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-mid) 100%); }
.ad-type-badge { position: absolute; top: 12px; left: 12px; background: rgba(26,16,8,0.75); color: var(--gold-light); font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; padding: 4px 10px; border-radius: 20px; backdrop-filter: blur(4px); }
.ad-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(74,16,32,0.95) 0%, rgba(74,16,32,0.65) 50%, transparent 100%); display: flex; align-items: flex-end; padding: 24px; opacity: 0; transition: opacity 0.3s; }
.ad-card:hover .ad-card-overlay { opacity: 1; }
.ad-overlay-type { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold-light); margin-bottom: 6px; }
.ad-overlay-title { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--cream); margin-bottom: 4px; line-height: 1.25; }
.ad-overlay-author { font-size: 13px; color: rgba(250,246,238,0.65); margin-bottom: 14px; }
.ad-view-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: var(--ink); border: none; padding: 9px 16px; border-radius: 3px; font-size: 11px; font-weight: 600; cursor: pointer; transition: background 0.2s; font-family: var(--sans); letter-spacing: 0.05em; }
.ad-view-btn:hover { background: var(--gold-light); }
.ad-card-foot { padding: 16px 18px 20px; background: #fff; }
.ad-card-title { font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.3; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ad-card-author { font-size: 12px; color: var(--text-muted); }
.ad-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.ad-modal-backdrop { position: absolute; inset: 0; background: rgba(26,16,8,0.82); backdrop-filter: blur(6px); }
.ad-modal-box { position: relative; z-index: 1; background: var(--cream); border-radius: 6px; max-width: 780px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); animation: modalIn 0.35s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(0.96); } to { opacity: 1; transform: none; } }
.ad-modal-close { position: absolute; top: 16px; right: 16px; background: rgba(74,16,32,0.08); border: none; border-radius: 50%; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); transition: background 0.2s; z-index: 2; }
.ad-modal-close:hover { background: rgba(74,16,32,0.15); }
.ad-modal-inner { display: grid; grid-template-columns: 220px 1fr; }
.ad-modal-img-wrap { background: var(--burgundy); border-radius: 6px 0 0 6px; overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 320px; }
.ad-modal-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.ad-modal-body { padding: 40px 36px; }

/* ═══════════════════════════════════════════════
   BLOG
   ═══════════════════════════════════════════════ */
.blog-cat-pill { display: inline-block; padding: 4px 12px; background: var(--gold-pale); border: 1px solid var(--gold); border-radius: 20px; font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--burgundy); text-decoration: none; transition: all 0.2s; }
.blog-cat-pill:hover { background: var(--burgundy); border-color: var(--burgundy); color: var(--gold-light); }
.blog-filter-btn { padding: 7px 18px; border: 1px solid var(--border); border-radius: 20px; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; color: var(--ink-mid); text-decoration: none; transition: all 0.2s; white-space: nowrap; }
.blog-filter-btn:hover, .blog-filter-btn.active { background: var(--burgundy); border-color: var(--burgundy); color: var(--gold-light); }
.blog-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.blog-meta-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.blog-meta-author { font-size: 13px; font-weight: 500; }
.blog-meta-sep { color: var(--text-muted); font-size: 10px; }
.blog-meta-date, .blog-meta-read { font-size: 13px; color: var(--text-muted); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 52px; }
.blog-card { background: var(--cream-dark); border-radius: 3px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.35s var(--ease), box-shadow 0.35s; box-shadow: var(--shadow-sm); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card-img { display: block; overflow: hidden; aspect-ratio: 16/9; background: var(--burgundy); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.blog-card-title { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--burgundy); line-height: 1.3; margin-bottom: 10px; }
.blog-card-title a { text-decoration: none; color: inherit; transition: color 0.2s; }
.blog-card-title a:hover { color: var(--burgundy-mid); }
.blog-card-excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.8; }
.blog-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 68px; flex-wrap: wrap; }
.blog-pag-btn { padding: 10px 22px; border: 1px solid var(--border); border-radius: 2px; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; color: var(--burgundy); text-decoration: none; transition: all 0.2s; }
.blog-pag-btn:hover { background: var(--burgundy); border-color: var(--burgundy); color: var(--gold-light); }
.blog-pag-num { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 2px; font-size: 13px; font-weight: 500; color: var(--ink-mid); text-decoration: none; transition: all 0.2s; }
.blog-pag-num:hover { border-color: var(--burgundy); color: var(--burgundy); }
.blog-pag-num.active { background: var(--burgundy); border-color: var(--burgundy); color: var(--gold-light); }

/* ═══════════════════════════════════════════════
   ARTICLE BODY
   ═══════════════════════════════════════════════ */
.article-body { font-size: 17px; color: var(--ink-mid); line-height: 1.9; max-width: 720px; }
.article-body h2 { font-family: var(--serif); font-size: clamp(24px,2.5vw,36px); font-weight: 600; color: var(--burgundy); margin: 52px 0 18px; line-height: 1.2; }
.article-body h3 { font-family: var(--serif); font-size: clamp(20px,2vw,28px); font-weight: 600; color: var(--burgundy); margin: 40px 0 14px; }
.article-body p { margin-bottom: 26px; }
.article-body a { color: var(--burgundy); border-bottom: 1px solid var(--gold); text-decoration: none; transition: color 0.2s; }
.article-body blockquote { margin: 44px 0; padding: 32px 40px; border-left: 4px solid var(--gold); background: var(--cream-dark); border-radius: 0 3px 3px 0; }
.article-body blockquote p { font-family: var(--serif); font-size: 21px; font-style: italic; color: var(--burgundy); margin: 0; }
.article-body img { width: 100%; border-radius: 3px; margin: 36px 0; }
.article-body hr { border: none; border-top: 1px solid var(--border); margin: 52px 0; }
.author-bio-box { display: flex; gap: 24px; align-items: flex-start; margin-top: 68px; padding: 40px; background: var(--cream-dark); border-radius: 3px; border-left: 4px solid var(--gold); }
.author-bio-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.article-sidebar { position: sticky; top: 108px; }
.sidebar-heading { font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.sidebar-related-item { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--border); }
.sidebar-related-item:last-child { border-bottom: none; }

/* ═══════════════════════════════════════════════
   COOKIE CONSENT
   ═══════════════════════════════════════════════ */
#daystar-cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--ink); color: rgba(250,246,238,0.85);
  padding: 18px 5vw; z-index: 99999;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; font-size: 13px;
  border-top: 2px solid rgba(201,168,76,0.3);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
}
#daystar-cookie-banner.visible { transform: translateY(0); }
#daystar-cookie-banner p { margin: 0; flex: 1; min-width: 200px; }
#daystar-cookie-banner a { color: var(--gold); }
.cookie-btns { display: flex; gap: 10px; }
.cookie-accept { background: var(--gold); color: var(--ink); border: none; padding: 9px 22px; border-radius: 3px; font-size: 12px; font-weight: 600; cursor: pointer; font-family: var(--sans); letter-spacing: 0.06em; transition: background 0.2s; }
.cookie-accept:hover { background: var(--gold-light); }
.cookie-decline { background: transparent; color: rgba(250,246,238,0.6); border: 1px solid rgba(250,246,238,0.2); padding: 9px 22px; border-radius: 3px; font-size: 12px; cursor: pointer; font-family: var(--sans); transition: all 0.2s; }
.cookie-decline:hover { border-color: rgba(250,246,238,0.4); color: rgba(250,246,238,0.8); }

/* ═══════════════════════════════════════════════
   ADMIN BAR OFFSET
   ═══════════════════════════════════════════════ */
.admin-bar nav { top: 32px; }
@media (max-width: 782px) { .admin-bar nav { top: 46px; } }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .books-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-book-stack { display: none; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .article-sidebar { display: none; }
  .ad-modal-inner { grid-template-columns: 1fr; }
  .ad-modal-img-wrap { border-radius: 6px 6px 0 0; min-height: 240px; }
}
@media (max-width: 768px) {
  section { padding: 72px 5vw; }
  .books-grid, .testi-grid, .catalogue-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid, .about-mission, .home-about, .contact-layout, .svc-row { grid-template-columns: 1fr; gap: 40px; }
  .mission-strip { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gallery-grid { columns: 2; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .blog-grid { grid-template-columns: 1fr; }
  .ad-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
  .svc-row--reverse { direction: ltr; }
  .svc-icon-col { flex-direction: row; justify-content: flex-start; }
  .svc-number-badge { font-size: 48px; }
}
@media (max-width: 480px) {
  .books-grid, .testi-grid, .catalogue-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 1; }
  .newsletter { flex-direction: column; }
  .newsletter-form { flex-direction: column; }
  .newsletter-input { border-radius: 2px; width: 100%; }
  .newsletter-btn { border-radius: 2px; }
  .home-about-badge { right: 0; }
  .contact-form-wrap { padding: 32px 24px; }
}

/* Disable fixed parallax on mobile (iOS incompatible) */
@media (max-width: 768px) {
  .hero { background-attachment: scroll !important; }
}

/* ── Single Book Responsive ── */
@media (max-width: 768px) {
  .single-book-layout {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

/* ── General section padding mobile ── */
@media (max-width: 480px) {
  section { padding: 48px 4vw; }
  .page-hero { padding: 60px 4vw 50px; }
  .hero-inner { padding: 100px 0 60px; }
  .books-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
  .catalogue-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .newsletter { padding: 40px 4vw; }
  .contact-form-wrap { padding: 24px 16px; }
  .testi-grid { grid-template-columns: 1fr; }
  .mission-strip { padding: 36px 4vw; }
}

/* ── Expressive UI Additions ── */

/* Smooth font rendering */
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Outfit headings everywhere */
h1, h2, h3, h4, .nav-brand-text, .nav-links a, .section-kicker,
.hero-h1, .page-hero h1, .section-h2, .book-title, .ad-overlay-title,
.footer-brand h3, .testi-author, .mission-item h3, .value-card h3,
.contact-form-wrap h3, .blog-card-title, .ad-modal-body h2 {
  font-family: 'Outfit', sans-serif;
}

h1, h2, .hero-h1, .page-hero h1, .section-h2, .nav-brand-text { font-weight: 800; }
h3, h4, .nav-links a, .section-kicker, .testi-author { font-weight: 600; }

/* Inter for body */
p, li, label, input, textarea, select, .form-control,
.section-lead, .hero-lead, .book-author, .blog-meta-date,
.testi-quote, .contact-info-value, .footer-col a { font-family: 'Inter', sans-serif; }

/* Floating card effect */
.book-card, .testi-card, .value-card, .ad-card, .blog-card {
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s cubic-bezier(0.22,1,0.36,1);
}

/* Glowing gold underline on section kickers */
.section-kicker::before {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

/* Button pulse on hover */
.btn-primary:hover {
  box-shadow: 0 0 0 4px rgba(201,168,76,0.2), 0 8px 24px rgba(201,168,76,0.3);
}

/* Smooth page hero entrance */
.page-hero h1 {
  animation: heroSlideUp 0.8s cubic-bezier(0.22,1,0.36,1) both;
}
.page-hero p {
  animation: heroSlideUp 0.8s cubic-bezier(0.22,1,0.36,1) 0.15s both;
}
.page-hero-kicker {
  animation: heroSlideUp 0.8s cubic-bezier(0.22,1,0.36,1) 0.05s both;
}
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero heading entrance */
.hero-kicker { animation: heroSlideUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.1s both; }
.hero-h1     { animation: heroSlideUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.25s both; }
.hero-lead   { animation: heroSlideUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.4s both; }
.hero-actions{ animation: heroSlideUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.55s both; }
.hero-book-stack { animation: heroSlideUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.45s both; }

/* Subtle gradient text on main hero heading */
.hero-h1 em {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 4s ease-in-out infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Nav link hover underline animation already in theme */

/* Footer link hover */
.footer-col a { display: inline-block; transition: color 0.2s, padding-left 0.25s cubic-bezier(0.22,1,0.36,1); }
.footer-col a:hover { padding-left: 6px; }

/* Mission item icon pulse */
.mission-item-icon { transition: transform 0.3s cubic-bezier(0.22,1,0.36,1); }
.mission-item:hover .mission-item-icon { transform: scale(1.12); }

/* Gold divider shimmer */
.testi-divider {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  background-size: 200% 1px;
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
