/*
Theme Name: Chiemeka Nicely — The Universe
Theme URI: https://chiemekanicely.com
Author: Chiemeka Nicely / Nicely Publishing
Author URI: https://chiemekanicely.com
Description: A custom Africanfuturist theme for chiemekanicely.com — home of The Shadow I Cast series, Nicely Publishing services, and the expanding bookverse of Chiemeka Nicely.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: Private
Text Domain: chiemekanicely
Tags: dark, africanfuturism, author, publishing, woocommerce
*/

/* =============================================================================
   GOOGLE FONTS IMPORT
   Cinzel        — Universe / Hero display font (Africanfuturist)
   Lora          — Nicely Publishing / Services / Blog (brand serif)
   Lato          — Universal body font (brand sans)
   Raleway       — Navigation / UI / Buttons
============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Lora:ital,wght@0,400;0,600;1,400;1,600&family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&family=Raleway:wght@300;400;500;600;700&display=swap');

/* =============================================================================
   CSS CUSTOM PROPERTIES — BRAND SYSTEM
============================================================================= */

:root {

  /* --- Colour Palette --- */
  --color-bg-deep:        #0D0B1A;   /* Primary dark background */
  --color-bg-secondary:   #150F2E;   /* Section alternating background */
  --color-bg-card:        #1A1530;   /* Card / panel background */
  --color-bg-light:       #F5F3EE;   /* Light sections (Services, Blog) */
  --color-bg-cream:       #FAFAF8;   /* Nicely Publishing cream */

  --color-gold:           #C8A72A;   /* Primary gold */
  --color-gold-bright:    #FFD700;   /* Gold glow / hover */
  --color-gold-muted:     #B8922A;   /* Gold text on light backgrounds */
  --color-gold-subtle:    rgba(200, 167, 42, 0.15); /* Gold tint fills */
  --color-gold-border:    rgba(200, 167, 42, 0.3);  /* Gold borders */

  --color-text-primary:   #F0EEF8;   /* Main text on dark */
  --color-text-muted:     #9B93B8;   /* Secondary text on dark */
  --color-text-dark:      #1C1B1A;   /* Main text on light */
  --color-text-gray:      #6B6B6B;   /* Secondary text on light */

  --color-blue-flame:     #4A9FFF;   /* Blue Flame accent (Calista) */
  --color-blue-glow:      rgba(74, 159, 255, 0.2);

  --color-white:          #FFFFFF;
  --color-overlay:        rgba(13, 11, 26, 0.75);
  --color-overlay-heavy:  rgba(13, 11, 26, 0.90);

  /* --- Typography --- */
  --font-display:   'Cinzel', 'Georgia', serif;         /* Hero, book titles, universe */
  --font-serif:     'Lora', 'Georgia', serif;           /* Services, blog, NP brand */
  --font-body:      'Lato', 'Helvetica Neue', sans-serif; /* All body copy */
  --font-ui:        'Raleway', 'Helvetica Neue', sans-serif; /* Nav, buttons, labels */

  /* --- Font Sizes (fluid) --- */
  --text-xs:    0.75rem;    /* 12px */
  --text-sm:    0.875rem;   /* 14px */
  --text-base:  1rem;       /* 16px */
  --text-md:    1.125rem;   /* 18px */
  --text-lg:    1.25rem;    /* 20px */
  --text-xl:    1.5rem;     /* 24px */
  --text-2xl:   2rem;       /* 32px */
  --text-3xl:   2.5rem;     /* 40px */
  --text-4xl:   3.5rem;     /* 56px */
  --text-5xl:   4.5rem;     /* 72px */
  --text-hero:  clamp(2.5rem, 6vw, 5rem); /* Responsive hero */

  /* --- Spacing --- */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   2rem;
  --space-lg:   4rem;
  --space-xl:   6rem;
  --space-2xl:  8rem;

  /* --- Layout --- */
  --container-max:    1280px;
  --container-narrow: 800px;
  --container-wide:   1440px;
  --gutter:           clamp(1.5rem, 4vw, 3rem);

  /* --- Borders & Radius --- */
  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    16px;
  --radius-pill:  100px;

  /* --- Shadows & Glows --- */
  --shadow-gold:      0 0 30px rgba(200, 167, 42, 0.2);
  --shadow-gold-strong: 0 0 60px rgba(200, 167, 42, 0.4);
  --shadow-blue:      0 0 40px rgba(74, 159, 255, 0.25);
  --shadow-card:      0 4px 32px rgba(0, 0, 0, 0.4);
  --shadow-deep:      0 8px 64px rgba(0, 0, 0, 0.6);

  /* --- Transitions --- */
  --transition-fast:   150ms ease;
  --transition-base:   300ms ease;
  --transition-slow:   600ms ease;
}

/* =============================================================================
   RESET & BASE
============================================================================= */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--color-bg-deep);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-gold-bright);
}

ul, ol {
  list-style: none;
}

/* =============================================================================
   TYPOGRAPHY SYSTEM
============================================================================= */

/* --- Display (Cinzel) — Universe / Book World --- */
h1, h2.universe-heading, .display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.15;
  color: var(--color-text-primary);
}

h1 { font-size: var(--text-hero); }

/* --- Section Headings (Cinzel for universe, Lora for services) --- */
h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

h2.np-heading {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-2xl);
  letter-spacing: 0;
}

h3 {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  font-family: var(--font-ui);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h5, h6 {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text-primary);
}

.lead {
  font-size: var(--text-md);
  line-height: 1.7;
  color: var(--color-text-muted);
}

.label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
}

blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-xl);
  line-height: 1.6;
  color: var(--color-text-muted);
  border-left: 3px solid var(--color-gold);
  padding-left: var(--space-md);
  margin: var(--space-md) 0;
}

/* =============================================================================
   LAYOUT — CONTAINERS
============================================================================= */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* =============================================================================
   SECTIONS
============================================================================= */

section {
  position: relative;
}

/* Dark universe sections */
.section-dark {
  background-color: var(--color-bg-deep);
  padding: var(--space-xl) 0;
}

.section-darker {
  background-color: var(--color-bg-secondary);
  padding: var(--space-xl) 0;
}

/* Light sections (Services, Blog intros) */
.section-light {
  background-color: var(--color-bg-light);
  padding: var(--space-xl) 0;
  color: var(--color-text-dark);
}

.section-light p { color: var(--color-text-dark); }
.section-light h2 { color: var(--color-text-dark); }
.section-light h3 { color: var(--color-text-dark); }
.section-light .label { color: var(--color-gold-muted); }

.section-cream {
  background-color: var(--color-bg-cream);
  padding: var(--space-xl) 0;
  color: var(--color-text-dark);
}

/* Gold divider line */
.gold-rule {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
  margin: var(--space-sm) 0 var(--space-md);
}

.gold-rule--center {
  margin: var(--space-sm) auto var(--space-md);
}

/* Section label + heading combo */
.section-header {
  margin-bottom: var(--space-lg);
}

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

.section-header--center .gold-rule {
  margin: var(--space-sm) auto var(--space-md);
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  width: 120px;
}

/* =============================================================================
   NAVIGATION
============================================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition-base), padding var(--transition-base);
}

.site-header.scrolled {
  background: rgba(13, 11, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.875rem var(--gutter);
  border-bottom: 1px solid var(--color-gold-border);
}

.site-logo {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: 0.05em;
  text-decoration: none;
}

.site-logo span {
  color: var(--color-gold);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.site-nav a {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--transition-base);
}

.site-nav a:hover {
  color: var(--color-text-primary);
}

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

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-gold);
  transition: all var(--transition-base);
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg-deep);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    z-index: 999;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    font-size: var(--text-xl);
    letter-spacing: 0.15em;
  }
}

/* =============================================================================
   BUTTONS
============================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

/* Gold filled */
.btn--gold {
  background: var(--color-gold);
  color: var(--color-bg-deep);
}

.btn--gold:hover {
  background: var(--color-gold-bright);
  color: var(--color-bg-deep);
  box-shadow: var(--shadow-gold-strong);
  transform: translateY(-2px);
}

/* Gold outline */
.btn--outline {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
}

.btn--outline:hover {
  background: var(--color-gold-subtle);
  color: var(--color-gold-bright);
  border-color: var(--color-gold-bright);
  transform: translateY(-2px);
}

/* Ghost (white outline) */
.btn--ghost {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid rgba(240, 238, 248, 0.3);
}

.btn--ghost:hover {
  background: rgba(240, 238, 248, 0.05);
  border-color: var(--color-text-primary);
  transform: translateY(-2px);
}

/* Dark (for light sections) */
.btn--dark {
  background: var(--color-bg-deep);
  color: var(--color-gold);
  border: 1px solid var(--color-gold-border);
}

.btn--dark:hover {
  background: var(--color-bg-secondary);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  align-items: center;
}

/* =============================================================================
   HERO SECTION
============================================================================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg-deep);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 11, 26, 0.85) 0%,
    rgba(21, 15, 46, 0.65) 50%,
    rgba(13, 11, 26, 0.75) 100%
  );
}

.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 8rem var(--gutter) 6rem;
  max-width: 700px;
  margin-left: var(--gutter);
}

.hero__eyebrow {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.hero__eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--color-gold);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.hero__title em {
  font-style: normal;
  color: var(--color-gold);
  display: block;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-md);
  color: var(--color-text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scrollBounce 2s infinite;
}

.hero__scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* =============================================================================
   STAR PARTICLES (CSS — no JS needed)
============================================================================= */

.stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.stars::before,
.stars::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(200,167,42,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 30% 60%, rgba(240,238,248,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 50% 10%, rgba(200,167,42,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 80%, rgba(240,238,248,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 40%, rgba(200,167,42,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 20% 90%, rgba(240,238,248,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 80% 15%, rgba(74,159,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 45% 55%, rgba(200,167,42,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 15% 45%, rgba(240,238,248,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 30%, rgba(74,159,255,0.3) 0%, transparent 100%);
  animation: twinkle 4s infinite alternate;
}

.stars::after {
  background-image:
    radial-gradient(1px 1px at 25% 35%, rgba(240,238,248,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 70%, rgba(200,167,42,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 75% 25%, rgba(240,238,248,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 65%, rgba(74,159,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 35% 85%, rgba(200,167,42,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 5%  50%, rgba(240,238,248,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 95% 90%, rgba(200,167,42,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 15%, rgba(74,159,255,0.5) 0%, transparent 100%);
  animation-delay: 2s;
  animation-duration: 5s;
}

@keyframes twinkle {
  0%   { opacity: 0.4; }
  100% { opacity: 1; }
}

/* =============================================================================
   BOOK / PRODUCT CARDS
============================================================================= */

.book-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
}

.book-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
}

.book-card__cover {
  aspect-ratio: 2/3;
  overflow: hidden;
  background: var(--color-bg-secondary);
}

.book-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.book-card:hover .book-card__cover img {
  transform: scale(1.04);
}

.book-card__body {
  padding: var(--space-md);
}

.book-card__series {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.book-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.book-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

/* Coming soon badge */
.badge--coming-soon {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: var(--color-gold-subtle);
  border: 1px solid var(--color-gold-border);
  color: var(--color-gold);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
}

/* =============================================================================
   SERVICE CARDS (Nicely Publishing — light sections)
============================================================================= */

.service-card {
  background: var(--color-white);
  border: 1px solid rgba(200, 167, 42, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-md) var(--space-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(200, 167, 42, 0.15);
  border-color: var(--color-gold-muted);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__price {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold-muted);
  margin-bottom: 0.5rem;
}

.service-card__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--color-text-dark);
  margin-bottom: var(--space-sm);
}

.service-card__description {
  font-size: var(--text-sm);
  color: var(--color-text-gray);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

/* =============================================================================
   EMAIL CAPTURE / CTA SECTION
============================================================================= */

.email-section {
  background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg-deep) 100%);
  border-top: 1px solid var(--color-gold-border);
  border-bottom: 1px solid var(--color-gold-border);
  padding: var(--space-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.email-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,167,42,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.email-form {
  display: flex;
  gap: var(--space-sm);
  max-width: 560px;
  margin: var(--space-md) auto 0;
}

.email-form input {
  flex: 1;
  background: rgba(240, 238, 248, 0.05);
  border: 1px solid var(--color-gold-border);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition-fast);
}

.email-form input::placeholder {
  color: var(--color-text-muted);
}

.email-form input:focus {
  border-color: var(--color-gold);
  background: rgba(240, 238, 248, 0.08);
}

@media (max-width: 560px) {
  .email-form {
    flex-direction: column;
  }
}

/* =============================================================================
   BLOG CARDS
============================================================================= */

.blog-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

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

.blog-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-bg-secondary);
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.04);
}

.blog-card__body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__category {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.blog-card__title {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
  flex: 1;
}

.blog-card__meta {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

/* =============================================================================
   FOOTER
============================================================================= */

.site-footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-gold-border);
}

.footer-cta {
  background: linear-gradient(135deg, #1A0A2E 0%, #0D0B1A 100%);
  padding: var(--space-xl) 0;
  text-align: center;
  border-bottom: 1px solid var(--color-gold-border);
}

.footer-cta h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.footer-main {
  padding: var(--space-lg) 0;
}

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

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.footer-brand__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: var(--color-gold-subtle);
}

.footer-nav h4 {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav ul a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-nav ul a:hover {
  color: var(--color-text-primary);
}

.footer-bottom {
  padding: var(--space-md) 0;
  border-top: 1px solid var(--color-gold-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

@media (max-width: 640px) {
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* =============================================================================
   SCROLL ANIMATIONS
============================================================================= */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================================================
   WOOCOMMERCE OVERRIDES
============================================================================= */

.woocommerce-page body,
.woocommerce body {
  background: var(--color-bg-deep);
}

.woocommerce .products .product a img {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gold-border);
  transition: all var(--transition-base);
}

.woocommerce .products .product a img:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
}

.woocommerce .products .product .woocommerce-loop-product__title {
  font-family: var(--font-display);
  color: var(--color-text-primary);
}

.woocommerce .products .product .price {
  color: var(--color-gold);
  font-family: var(--font-ui);
}

.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--color-gold) !important;
  color: var(--color-bg-deep) !important;
  font-family: var(--font-ui) !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  border-radius: var(--radius-sm) !important;
  transition: all var(--transition-base) !important;
}

.woocommerce .button:hover {
  background: var(--color-gold-bright) !important;
  box-shadow: var(--shadow-gold) !important;
}

/* =============================================================================
   SINGLE POST / BLOG
============================================================================= */

.post-header {
  padding: 8rem var(--gutter) var(--space-xl);
  background: var(--color-bg-secondary);
  text-align: center;
  border-bottom: 1px solid var(--color-gold-border);
}

.post-header .label {
  margin-bottom: var(--space-sm);
}

.post-header h1 {
  font-family: var(--font-serif);
  font-style: italic;
  max-width: 800px;
  margin: 0 auto var(--space-md);
}

.post-body {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: var(--space-xl) var(--gutter);
}

.post-body p { margin-bottom: 1.5rem; }
.post-body h2 { font-size: var(--text-2xl); margin: var(--space-lg) 0 var(--space-sm); }
.post-body h3 { margin: var(--space-md) 0 var(--space-sm); }

/* =============================================================================
   UTILITY CLASSES
============================================================================= */

.text-gold    { color: var(--color-gold); }
.text-muted   { color: var(--color-text-muted); }
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }

.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* Gold shimmer text effect for special headings */
.text-shimmer {
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-bright), var(--color-gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

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

/* Blue Flame glow for Calista/universe elements */
.blue-flame-glow {
  filter: drop-shadow(0 0 12px rgba(74, 159, 255, 0.5));
}

/* Gold pulse animation */
@keyframes goldPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(200,167,42,0.2); }
  50%       { box-shadow: 0 0 40px rgba(200,167,42,0.5); }
}

.pulse-gold {
  animation: goldPulse 3s ease infinite;
}
