/*
Theme Name: Ancient Synergy
Theme URI: https://ancientsynergy.com
Author: Ancient Synergy
Description: A modern, sophisticated metaphysical wellness theme with cosmic jewel-tone aesthetics for Ancient Synergy.
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: ancient-synergy
*/

/* ============================================================
   CSS CUSTOM PROPERTIES — JEWEL TONE COSMIC PALETTE
   ============================================================ */
:root {
  --void:         #080710;
  --deep-space:   #0d0b1e;
  --cosmic:       #15112c;
  --amethyst:     #5c4f7e;
  --amethyst-mid: #6e60a0;
  --sapphire:     #273a72;
  --sapphire-mid: #3a5098;
  --emerald:      #064e3b;
  --rose:         #9d174d;
  --gold:         #c9a84c;
  --gold-light:   #dfc07a;
  --lavender:     #a494c4;
  --mauve:        #c4a0b4;
  --pearl:        #ede9f5;
  --white:        #ffffff;

  --grad-jewel:   #1e1838;
  --grad-gold:    #c9a84c;
  --grad-card:    rgba(17,0,51,0.55);

  --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body:    'Raleway', 'Montserrat', sans-serif;
  --font-accent:  'Cinzel', Georgia, serif;

  --radius-sm:  6px;
  --radius-md:  14px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  --shadow-glow:   0 4px 24px rgba(0,0,0,0.5);
  --shadow-card:   0 8px 32px rgba(0,0,0,0.45);
  --shadow-gold:   0 4px 16px rgba(0,0,0,0.4);

  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
  /* Reserve the scrollbar gutter so content never shifts sideways
     when pages of different heights load or the viewport shrinks */
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-body);
  background-color: var(--void);
  color: var(--pearl);
  line-height: 1.7;
  overflow-x: hidden;
  /* Text never escapes its container, even for long unbroken words */
  overflow-wrap: break-word;
  word-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--lavender); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--pearl);
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 60px 0; }

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.eyebrow {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-family: var(--font-heading);
  color: var(--pearl);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.lead {
  font-size: 1.15rem;
  color: rgba(240,235,255,0.75);
  max-width: 640px;
  line-height: 1.8;
}
.lead--secondary {
  font-size: 1rem;
  margin-top: 1.5rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--void);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--gold-light);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  color: var(--void);
}

.btn-outline {
  background: transparent;
  color: var(--lavender);
  border: 1px solid rgba(164,148,196,0.4);
}
.btn-outline:hover {
  background: rgba(164,148,196,0.1);
  border-color: var(--lavender);
  color: var(--pearl);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--pearl);
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-ghost:hover {
  background: rgba(92,79,126,0.2);
  border-color: rgba(164,148,196,0.4);
  color: var(--pearl);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
/* Fixed header overlays content — every page except the front page
   (full-screen hero) needs a top offset so headings clear the menu */
body:not(.home) {
  padding-top: 110px;
}
/* On inner pages the header is always solid — the transparent style is
   only for the homepage hero. Prevents content showing through on scroll. */
body:not(.home) #site-header {
  background: rgba(3,0,15,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(92,79,126,0.2);
}

/* ── WooCommerce wrapper — the "invisible border" ──
   Every Woo page (shop, product, cart, checkout) renders inside this
   frame so content never touches the viewport edges. */
.woo-wrap {
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 5rem;
}
.woo-wrap .container {
  width: min(1080px, 100%);
}

/* ── WooCommerce single product — two-column booking card ──
   Image carousel left (~45%), service info right (~55%), both
   vertically centered. Invisible padding acts as the internal
   border. Everything else inside div.product (tabs, upsells)
   spans the full width below the two columns. */
.woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, 45%) minmax(0, 1fr);
  gap: 2rem 3rem;
  align-items: center;
}
.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  float: none !important;
  width: 100% !important;
  max-width: 100%;
  margin: 0 !important;
}
.woocommerce div.product div.images {
  grid-column: 1;
  padding: 1rem;               /* invisible border around the image */
}
.woocommerce div.product div.summary {
  grid-column: 2;
  padding-left: 1rem;          /* invisible border on the text side */
  text-align: left;
}
.woocommerce div.product > *:not(.images):not(.summary) {
  grid-column: 1 / -1;
}
.woocommerce div.product div.images img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: var(--radius-md);
}
/* Purchase bars (quantity + add-to-cart + express-pay buttons):
   left-aligned inside the info column, capped so they never run
   off the page. */
.woocommerce div.product form.cart {
  max-width: min(440px, 100%);
  margin: 1.5rem 0 2rem !important;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}
/* Mobile: stack the columns — image on top (centered), text below */
@media (max-width: 768px) {
  .woocommerce div.product {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .woocommerce div.product div.images,
  .woocommerce div.product div.summary {
    grid-column: 1;
  }
  .woocommerce div.product div.images {
    max-width: min(420px, 100%);
    margin: 0 auto !important;
    padding: 0;
  }
  .woocommerce div.product div.summary {
    padding-left: 0;
  }
}
.woocommerce div.product form.cart div.quantity {
  float: none;
  margin: 0;
}
.woocommerce div.product form.cart .qty {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(92,79,126,0.35);
  border-radius: var(--radius-sm);
  color: var(--pearl);
  padding: 0.65rem 0.5rem;
  width: 4.5rem;
}
.woocommerce div.product form.cart .button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  float: none;
  background: var(--gold);
  color: var(--void);
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  transition: background-color var(--transition), transform var(--transition);
}
.woocommerce div.product form.cart .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--gold-light);
  color: var(--void);
  transform: translateY(-2px);
}
/* Express-checkout / payment bars stay inside the frame too */
.woocommerce div.product .summary > * {
  max-width: 100%;
}
.woocommerce div.product .price {
  color: var(--gold-light) !important;
  font-family: var(--font-heading);
  font-size: 1.4rem;
}
/* Breadcrumb: keep clear of the fixed header and match the theme */
.woocommerce .woocommerce-breadcrumb {
  margin: 0 0 1.5rem;
  font-size: 0.82rem;
  color: rgba(240,235,255,0.5);
}
.woocommerce .woocommerce-breadcrumb a { color: rgba(240,235,255,0.7); }
/* Product title shouldn't fight the nav for space */
.woocommerce div.product .product_title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
}

/* ── WooCommerce shop loop — centered cards, no highlighted numbers ── */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 300px));
  justify-content: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0 !important;
  padding: 0;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  text-align: center;
  background: rgba(17,0,51,0.5);
  border: 1px solid rgba(92,79,126,0.18);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding-bottom: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-5px);
  border-color: rgba(201,168,76,0.3);
  box-shadow: var(--shadow-card);
}
.woocommerce ul.products li.product a img {
  width: 100%;
  margin: 0 0 1rem;
  border-radius: 0;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--pearl);
  padding: 0 1rem 0.5rem;
}
/* Hide the highlighted numbers on the shop grid: result counts,
   loop prices, and pagination page-number pills. */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .star-rating,
.woocommerce span.onsale {
  display: none !important;
}
.woocommerce nav.woocommerce-pagination ul {
  border: none;
}
.woocommerce nav.woocommerce-pagination ul li {
  border: none;
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a {
  background: transparent;
  color: rgba(240,235,255,0.6);
}
.woocommerce nav.woocommerce-pagination ul li span.current {
  color: var(--gold);
}

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease,
              border-color 0.4s ease, box-shadow 0.4s ease;
}

#site-header.scrolled {
  background: rgba(3,0,15,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(92,79,126,0.2);
  padding: 0.8rem 0;
}

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

/* Logo */
.site-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  gap: 0.75rem;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.logo-main {
  display: block;
  white-space: nowrap;
  font-family: var(--font-accent);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--pearl);
  line-height: 1;
}
.logo-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

/* Nav Links — WP outputs a <ul><li> structure; normalise it */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li {
  list-style: none;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240,235,255,0.75);
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover, .nav-links a.current-menu-item {
  color: var(--pearl);
}
.nav-links a:hover::after, .nav-links a.current-menu-item::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.6rem 1.5rem;
  font-size: 0.78rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--pearl);
  transition: background-color var(--transition), opacity var(--transition), transform var(--transition);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3,0,15,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--pearl);
  letter-spacing: 0.05em;
}
.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--pearl);
  font-size: 1.5rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--void);
}

#starfield-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3,0,15,0.25);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4rem 1.5rem 0;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(196,160,180,0.1);
  border: 1px solid rgba(196,160,180,0.22);
  border-radius: 100px;
  padding: 0.4rem 1.2rem;
  font-family: var(--font-accent);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mauve);
  margin-bottom: 2rem;
}
.hero-badge::before {
  content: '✦';
  font-size: 0.6rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(240,235,255,0.7);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}


/* ============================================================
   INTRO / ABOUT STORY SECTION
   ============================================================ */
.intro-section {
  background: var(--void);
  position: relative;
  overflow: hidden;
}

/* Decorative radial glow behind about content */
.intro-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(92,79,126,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.about-story {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.about-hook {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  margin-bottom: 2rem;
  line-height: 1.15;
}
.about-hook em {
  font-style: italic;
  color: var(--gold-light);
}

.about-story .lead {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.about-story .lead--secondary {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.about-story .lead--secondary em {
  color: var(--gold-light);
  font-style: italic;
}

.intro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem auto 0;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(92,79,126,0.2);
  max-width: 560px;
}
.intro-stat { text-align: center; }
.intro-stat-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
}
.intro-stat-label {
  font-family: var(--font-accent);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,235,255,0.5);
  margin-top: 0.4rem;
}

.about-story .btn-group { justify-content: center; }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
  background: var(--deep-space);
  position: relative;
}
.services-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(92,79,126,0.25);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}
.section-header .lead {
  margin: 0 auto;
  text-align: center;
}

/* Services heading — its own quiet moment, clearly separated from
   the list below so the header never bleeds into the offerings. */
.services-header {
  max-width: 640px;
  margin-bottom: 5.5rem;
  position: relative;
}
.services-header .eyebrow { margin-bottom: 1.25rem; }
.services-header .section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
}
.services-header .lead {
  color: rgba(240,235,255,0.7);
  font-style: italic;
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

/* Ornamental gold rule with a centered diamond — closes the heading */
.header-ornament {
  width: 200px;
  height: 1px;
  margin: 2.5rem auto 0;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.65), transparent);
  position: relative;
}
.header-ornament::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
}

.services-list {
  border-top: 1px solid rgba(92,79,126,0.2);
  margin-top: 1rem;
}

.service-row {
  display: grid;
  grid-template-columns: 104px 1fr 1.7fr auto;
  gap: 2rem 3rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(92,79,126,0.15);
  transition: border-color var(--transition);
}

.service-img {
  width: 104px;
  height: 104px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-img-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(92,79,126,0.12);
  border: 1px solid rgba(92,79,126,0.18);
  border-radius: var(--radius-sm);
}
.service-row:hover {
  border-bottom-color: rgba(201,168,76,0.25);
}
.service-row--featured {
  padding: 2.75rem 0;
}
.service-row--featured .service-img {
  width: 120px;
  height: 120px;
}
.service-row--featured .service-name {
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  color: var(--pearl);
}

.service-name {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 400;
  color: rgba(240,235,255,0.9);
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.service-body {
  font-size: 0.91rem;
  color: rgba(240,235,255,0.6);
  line-height: 1.75;
  text-wrap: pretty;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-accent);
  white-space: nowrap;
  transition: color var(--transition);
}
.service-link::after {
  content: '→';
  transition: transform var(--transition);
  display: inline-block;
}
.service-link:hover::after { transform: translateX(4px); }
.service-link:hover { color: var(--gold-light); }

/* Card variant — used on inner pages (about, book, index fallback) */
.service-card {
  background: var(--grad-card);
  border: 1px solid rgba(92,79,126,0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(92,79,126,0.45);
  box-shadow: var(--shadow-card);
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(92,79,126,0.2);
  border: 1px solid rgba(92,79,126,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
  color: var(--pearl);
}
.service-card p {
  font-size: 0.91rem;
  color: rgba(240,235,255,0.65);
  line-height: 1.7;
}

/* ============================================================
   BOOK FEATURE SECTION
   ============================================================ */
.book-section {
  background: var(--deep-space);
  position: relative;
  overflow: hidden;
}

.book-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}

.book-cover-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.book-cover {
  width: 280px;
  border-radius: var(--radius-md);
  box-shadow: -20px 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(92,79,126,0.4);
  transform: perspective(800px) rotateY(8deg);
  transition: transform var(--transition);
}
.book-cover:hover {
  transform: perspective(800px) rotateY(2deg) translateY(-8px);
}
.book-cover-placeholder {
  width: 280px;
  max-width: 100%;
  height: 380px;
  border-radius: var(--radius-md);
  background: #1a0040;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  box-shadow: -20px 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(92,79,126,0.4);
  transform: perspective(800px) rotateY(8deg);
  border: 1px solid rgba(201,168,76,0.2);
}
.book-cover-placeholder .book-icon { font-size: 3rem; margin-bottom: 1rem; }
.book-cover-placeholder h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--pearl);
  margin-bottom: 0.5rem;
}
.book-cover-placeholder span {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-accent);
}

.book-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 1.5rem;
  color: var(--gold);
  font-size: 1rem;
}

.book-meta {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
}
.book-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.book-meta-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(240,235,255,0.5);
  font-family: var(--font-accent);
}
.book-meta-value {
  font-size: 1rem;
  color: var(--gold-light);
  font-family: var(--font-heading);
}

/* ============================================================
   PODCAST SECTION
   ============================================================ */
.podcast-section {
  background: var(--void);
  position: relative;
}

.podcast-grid {
  display: grid;
  /* min(320px, 100%) lets cards shrink below 320px instead of
     overflowing the viewport on small phones */
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.podcast-card {
  background: rgba(17,0,51,0.85);
  border: 1px solid rgba(92,79,126,0.2);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.podcast-card:hover {
  border-color: rgba(92,79,126,0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.podcast-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  background: var(--grad-jewel);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  overflow: hidden;
}
.podcast-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.podcast-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(92,79,126,0.15);
  border-radius: var(--radius-sm);
}

.podcast-ep {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.podcast-title {
  font-size: 1rem;
  color: var(--pearl);
  font-family: var(--font-heading);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.podcast-duration {
  font-size: 0.78rem;
  color: rgba(240,235,255,0.6);
}
.podcast-play {
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--lavender);
  letter-spacing: 0.05em;
}
.podcast-play:hover { color: var(--gold-light); }
.play-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(164,148,196,0.15);
  border: 1px solid rgba(164,148,196,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
}

/* ============================================================
   SHOP PREVIEW SECTION
   ============================================================ */
.shop-section {
  background: var(--void);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.shop-card {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(92,79,126,0.18);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  background: rgba(17,0,51,0.5);
  text-decoration: none;
  color: inherit;
}
.shop-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.shop-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201,168,76,0.3);
  box-shadow: var(--shadow-card), var(--shadow-gold);
}

.shop-img {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}
.shop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.shop-card:hover .shop-img img { transform: scale(1.06); }
.shop-img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--grad-jewel);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  opacity: 0.7;
}

.shop-info {
  padding: 1.25rem;
}
.shop-category {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-accent);
  margin-bottom: 0.4rem;
}
.shop-name {
  font-size: 1rem;
  color: var(--pearl);
  font-family: var(--font-heading);
  margin-bottom: 0.6rem;
}
.shop-price {
  font-size: 1rem;
  color: var(--lavender);
  font-weight: 600;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  background: var(--deep-space);
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236b21a8' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.6;
}

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

.testimonial-card {
  background: var(--grad-card);
  border: 1px solid rgba(92,79,126,0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-heading);
  font-size: 4rem;
  color: rgba(201,168,76,0.2);
  line-height: 1;
}

.testimonial-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(240,235,255,0.85);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-jewel);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.author-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pearl);
}
.author-title {
  font-size: 0.75rem;
  color: var(--gold);
  font-family: var(--font-accent);
  letter-spacing: 0.1em;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background: var(--deep-space);
  position: relative;
  overflow: hidden;
  padding-top: 60px;
  padding-bottom: 60px;
}
.contact-section::before {
  display: none;
}
#contact-starfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.45;
}

/* Centered meta row of contact details */
.contact-meta-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(240,235,255,0.65);
}
.contact-detail-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(92,79,126,0.2);
  border: 1px solid rgba(92,79,126,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Centered form wrapper */
.contact-form-centered {
  max-width: 680px;
  margin: 0 auto;
}
/* Strip card styling from embed container */
.contact-form-wrap {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  backdrop-filter: none;
  box-shadow: none;
}
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(92,79,126,0.3);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--pearl);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  resize: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(240,235,255,0.35); }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: rgba(92,79,126,0.7); }

/* Contact Form 7 — inherit the theme's field styling */
.contact-form-wrap .wpcf7-form input[type="text"],
.contact-form-wrap .wpcf7-form input[type="email"],
.contact-form-wrap .wpcf7-form input[type="tel"],
.contact-form-wrap .wpcf7-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(92,79,126,0.3);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--pearl);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  resize: none;
}
.contact-form-wrap .wpcf7-form input:focus,
.contact-form-wrap .wpcf7-form textarea:focus {
  outline: none;
  border-color: rgba(92,79,126,0.7);
}
.contact-form-wrap .wpcf7-form input::placeholder,
.contact-form-wrap .wpcf7-form textarea::placeholder { color: rgba(240,235,255,0.35); }
.contact-form-wrap .wpcf7-form label {
  display: block;
  color: rgba(240,235,255,0.65);
  font-size: 0.85rem;
  margin-bottom: 1.1rem;
}
.contact-form-wrap .wpcf7-form input[type="submit"] {
  display: inline-flex;
  background: var(--gold);
  color: var(--void);
  border: none;
  border-radius: 100px;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: background var(--transition), transform var(--transition);
}
.contact-form-wrap .wpcf7-form input[type="submit"]:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}
.contact-form-wrap .wpcf7-response-output {
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  color: var(--pearl);
  margin: 1rem 0 0;
}
.contact-form-wrap .wpcf7-not-valid-tip {
  color: rgba(255,140,140,0.9);
  font-size: 0.78rem;
  margin-top: 0.35rem;
}
.contact-fallback { text-align: center; }
.social-btn svg { width: 18px; height: 18px; display: block; }

/* ============================================================
   CTA / SUBSCRIBE SECTION
   ============================================================ */
.cta-section {
  background: var(--void);
  background-image: none;
  position: relative;
  overflow: hidden;
  padding-top: 60px;
}
/* Cosmic nebula backdrop — fully removed */
.cta-section::before { content: none; display: none; }

/* The centered card */
.subscribe-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 5rem 4rem;
  background: none;
  border: none;
}
.subscribe-inner::before { display: none; }

.subscribe-glyph {
  font-family: var(--font-accent);
  font-size: 1.4rem;
  color: var(--gold);
  opacity: 0.7;
  letter-spacing: 0.5em;
  display: block;
  margin-bottom: 1rem;
}

.subscribe-inner .section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}
.subscribe-inner .lead {
  margin: 0 auto 2rem;
  text-align: center;
  max-width: 500px;
}
.cta-disclaimer {
  font-size: 0.78rem;
  color: rgba(240,235,255,0.4);
  margin-top: 1.25rem;
  letter-spacing: 0.05em;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.cta-glyph {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
  color: var(--gold);
  opacity: 0.7;
}
.cta-inner .section-title { margin-bottom: 1rem; }
.cta-inner .lead { margin-bottom: 0; }

.newsletter-form {
  display: flex;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  border: 1px solid rgba(92,79,126,0.4);
  border-radius: 100px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.newsletter-form:focus-within {
  border-color: rgba(201,168,76,0.5);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
}
.newsletter-form input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 0.95rem 1.5rem;
  color: var(--pearl);
  font-family: var(--font-body);
  font-size: 0.9rem;
  min-width: 0;
}
.newsletter-form input::placeholder { color: rgba(240,235,255,0.4); }
.newsletter-form .btn {
  border-radius: 100px;
  margin: 4px;
  padding: 0.7rem 1.4rem;
  font-size: 0.78rem;
  flex-shrink: 0;
}
.newsletter-form .btn:disabled { opacity: 0.6; cursor: not-allowed; }
.newsletter-form--error input {
  color: rgba(255,140,140,0.9);
}
.newsletter-form__error {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,140,140,0.9);
  margin-top: 0.5rem;
  text-align: center;
}

/* Mobile: stack pill form */
@media (max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
    border-radius: var(--radius-md);
    overflow: visible;
    background: none;
    border: none;
    gap: 0.75rem;
  }
  .newsletter-form input {
    border: 1px solid rgba(92,79,126,0.4);
    border-radius: 100px;
    background: rgba(255,255,255,0.04);
    padding: 0.9rem 1.5rem;
  }
  .newsletter-form .btn {
    border-radius: 100px;
    margin: 0;
    padding: 0.85rem 2rem;
    width: 100%;
    justify-content: center;
  }
}

/* ── Utility layout helpers ── */
.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ── 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;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--void);
  border-top: 1px solid rgba(92,79,126,0.2);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(240,235,255,0.55);
  margin-top: 1rem;
  max-width: 280px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(92,79,126,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(240,235,255,0.6);
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  text-decoration: none;
}
.social-btn:hover {
  border-color: rgba(164,148,196,0.5);
  color: var(--pearl);
  background: rgba(92,79,126,0.2);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(240,235,255,0.55);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--lavender); }

.footer-bottom {
  border-top: 1px solid rgba(92,79,126,0.15);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(240,235,255,0.55);
}
.footer-bottom a {
  color: rgba(240,235,255,0.55);
  font-size: 0.8rem;
}
.footer-bottom a:hover { color: var(--lavender); }
/* Legal-links row: wrap instead of overflowing on narrow screens */
.footer-bottom > div {
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   INNER PAGE HEADER
   ============================================================ */
.page-banner {
  position: relative;
  padding: 160px 0 80px;
  text-align: center;
  overflow: hidden;
  background: var(--cosmic);
}
.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: var(--gold);
}
.page-banner .eyebrow { justify-content: center; display: block; }
.page-banner h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-bio-grid {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 5rem;
  align-items: start;
}

.about-photo {
  position: relative;
}
.about-photo img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.about-photo-placeholder {
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  background: #1a0040;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  border: 1px solid rgba(92,79,126,0.3);
}
.about-credential {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--grad-card);
  border: 1px solid rgba(92,79,126,0.2);
  border-radius: var(--radius-md);
  margin-top: 1rem;
}
.credential-icon { font-size: 1.5rem; }
.credential-text { font-size: 0.85rem; color: rgba(240,235,255,0.75); }
.credential-text strong { color: var(--pearl); display: block; font-size: 0.9rem; }

/* ============================================================
   SHOP PAGE
   ============================================================ */
.shop-hero {
  background: var(--cosmic);
  padding: 160px 0 80px;
  text-align: center;
}

.shop-filter {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  border: 1px solid rgba(92,79,126,0.3);
  background: transparent;
  color: rgba(240,235,255,0.65);
  font-size: 0.82rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: rgba(92,79,126,0.25);
  border-color: rgba(164,148,196,0.4);
  color: var(--pearl);
}

.shop-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: 1.5rem;
}

/* ============================================================
   PODCAST PAGE
   ============================================================ */
.podcast-featured {
  background: var(--grad-card);
  border: 1px solid rgba(92,79,126,0.3);
  border-radius: var(--radius-xl);
  padding: 3rem;
  margin-bottom: 3rem;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.podcast-featured-art {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-md);
  background: var(--grad-jewel);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}
.podcast-featured h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.podcast-featured p {
  color: rgba(240,235,255,0.65);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* ============================================================
   BOOK PAGE
   ============================================================ */
.book-hero-section {
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--void);
  position: relative;
  overflow: hidden;
}

.book-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

.big-book-cover {
  width: 340px;
  max-width: 100%;
  height: 460px;
  border-radius: var(--radius-lg);
  background: #1a0040;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem;
  box-shadow: -30px 30px 80px rgba(0,0,0,0.7), 0 0 60px rgba(92,79,126,0.4);
  transform: perspective(1000px) rotateY(6deg) rotateX(2deg);
  border: 1px solid rgba(201,168,76,0.2);
}
.big-book-cover .book-icon { font-size: 4rem; margin-bottom: 1.5rem; }
.big-book-cover h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--pearl);
  margin-bottom: 0.75rem;
}
.big-book-cover .author {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-accent);
}

.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  margin: 1.5rem 0;
}
.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--pearl);
  font-family: var(--font-heading);
}
.price-currency {
  font-size: 1.2rem;
  color: var(--lavender);
}

/* ============================================================
   IMAGE CAROUSEL (arrows + dots, hidden when only one image)
   ============================================================ */
.as-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: inherit;
}
/* Fixed aspect ratio: the card never changes height between slides */
.as-carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}
.as-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.as-carousel-slide.is-active { opacity: 1; }
.as-carousel-slide img,
.as-carousel-slide .slide-ph,
.as-carousel-slide .service-img-placeholder {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
}
.as-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 3px;
  cursor: pointer;
  transition: background-color var(--transition);
}
.as-carousel-btn:hover,
.as-carousel-btn:focus-visible { background: rgba(0,0,0,0.7); }
.as-carousel-prev { left: 10px; }
.as-carousel-next { right: 10px; }
.as-carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.as-carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
}
.as-carousel-dot.is-active {
  background: var(--gold);
  transform: scale(1.25);
}
.as-carousel--single .as-carousel-btn,
.as-carousel--single .as-carousel-dots { display: none; }

/* Compact controls inside the small service-row thumbnails */
.service-img .as-carousel-btn { width: 22px; height: 22px; font-size: 0.95rem; }
.service-img .as-carousel-prev { left: 4px; }
.service-img .as-carousel-next { right: 4px; }
.service-img .as-carousel-dots { bottom: 4px; gap: 4px; }
.service-img .as-carousel-dot { width: 5px; height: 5px; }

/* Jewel-tone placeholder slides (used until real photos are added) */
.slide-ph--a { background: linear-gradient(135deg, #1e1838 0%, #34285c 100%); }
.slide-ph--b { background: linear-gradient(135deg, #15112c 0%, #273a72 100%); }
.slide-ph--c { background: linear-gradient(135deg, #1a0040 0%, #5c4f7e 100%); }

/* ============================================================
   BOOKING CARD — two-column service/product layout
   (image carousel left, service info right)
   ============================================================ */
.booking-card {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.booking-card .service-image-wrapper {
  flex: 0 1 45%;
  min-width: min(280px, 100%);
  padding: 1rem;               /* invisible border around the image */
  border-radius: var(--radius-md);
}
.booking-card .service-image-wrapper .as-carousel {
  border-radius: var(--radius-md);
}
.booking-card .service-info {
  flex: 1 1 50%;
  min-width: min(300px, 100%);
  padding-left: 1rem;          /* invisible border on the text side */
  text-align: left;
}
.booking-card .service-info h1,
.booking-card .service-info h3 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}
.booking-card .service-info .lead {
  margin-bottom: 1.5rem;
}
.booking-card .booking-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .booking-card { gap: 1.5rem; }
  .booking-card .service-image-wrapper {
    flex-basis: 100%;
    width: 100%;
    max-width: min(420px, 100%);
    margin: 0 auto;            /* stacked: image centered above text */
    padding: 0;
  }
  .booking-card .service-info {
    flex-basis: 100%;
    padding-left: 0;
  }
}

/* ============================================================
   LEGAL PAGES (Disclaimer · Terms · Privacy)
   ============================================================ */
.legal-content {
  color: rgba(240,235,255,0.78);
  font-size: 1rem;
  line-height: 1.9;
}
.legal-content h2 {
  font-size: 1.5rem;
  margin: 2.75rem 0 1rem;
  color: var(--pearl);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 1.25rem; }
.legal-content ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.legal-content ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
}
.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0.25rem;
  top: 0.75em;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}
.legal-content a { color: var(--gold-light); }
.legal-content .legal-updated {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240,235,255,0.45);
  margin-bottom: 2.5rem;
}

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
  height: 1px;
  background: rgba(92,79,126,0.25);
}

/* ============================================================
   COSMIC ORBS (DECORATIVE)
   ============================================================ */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.35;
}
.orb-purple { background: var(--amethyst); }
.orb-blue   { background: var(--sapphire-mid); }
.orb-gold   { background: var(--gold); opacity: 0.15; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .service-row       { grid-template-columns: 88px 1fr auto; gap: 1.25rem 2rem; }
  .service-body      { grid-column: 2 / -1; margin-top: -0.25rem; }
  .shop-grid         { grid-template-columns: repeat(2, 1fr); }
  .footer-grid       { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .book-hero-grid    { grid-template-columns: 1fr; text-align: center; }
  .big-book-cover    { margin: 0 auto; }
  .about-bio-grid    { grid-template-columns: 1fr; }
}

/* Nav collapse breakpoint — hides links before they crowd */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger           { display: flex; }
}

@media (max-width: 768px) {
  .service-row         { grid-template-columns: 72px 1fr; gap: 0.75rem 1.25rem; align-items: start; }
  .service-body        { grid-column: 1 / -1; margin-top: 0; }
  .service-link        { grid-column: 2; }
  .intro-grid          { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-meta-row    { flex-direction: column; align-items: center; gap: 1.25rem; }
  .contact-row         { grid-template-columns: 1fr; }
  .book-grid           { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .shop-grid           { grid-template-columns: 1fr; }
  .testimonials-grid   { grid-template-columns: 1fr; }
  .footer-grid         { grid-template-columns: 1fr; gap: 2rem; }
  .podcast-featured    { flex-direction: column; }
  .footer-bottom       { flex-direction: column; text-align: center; }
  .section-pad         { padding: 70px 0; }
  .subscribe-inner     { padding: 3.5rem 1.5rem; }
  .intro-stats         { grid-template-columns: repeat(3, 1fr); gap: 1rem; }

  /* Wrap button groups so they don't overflow */
  .hero-actions        { flex-wrap: wrap; justify-content: center; }
  .btn-group           { flex-wrap: wrap; justify-content: center; }

  /* Reduce body text size slightly */
  .lead                { font-size: 1rem; }

  /* Prevent hero text from overflowing */
  .hero-content        { padding: 0 1.25rem; }
  .hero-title          { word-break: break-word; }

  /* Section headers shouldn't overflow */
  .section-header      { padding: 0 0.5rem; }
}

/* Narrow screens — scale the wordmark down so the logo, hamburger,
   and padding always fit without pushing the header wider than the
   viewport (the wordmark is nowrap by design) */
@media (max-width: 540px) {
  .logo-icon,
  .site-logo .custom-logo { width: 38px; height: 38px; }
  .logo-main { font-size: 1.05rem; letter-spacing: 0.1em; }
  .logo-sub  { font-size: 0.52rem; letter-spacing: 0.25em; }
}

/* Small phones — stack the newsletter form and fix any remaining overflow */
@media (max-width: 480px) {
  .section-pad         { padding: 50px 0; }
  .contact-section,
  .cta-section         { padding-top: 50px; }

  /* Newsletter form stacks vertically */
  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
    padding: 0.5rem;
    gap: 0.5rem;
    max-width: 100%;
  }
  .newsletter-form input {
    padding: 0.85rem 1rem;
    text-align: center;
  }
  .newsletter-form .btn {
    margin: 0;
    width: 100%;
    border-radius: 10px;
    justify-content: center;
  }

  /* Stat numbers are too large at tiny widths */
  .intro-stat-num      { font-size: 1.8rem; }
  .intro-stat-label    { font-size: 0.6rem; }

  /* Podcast cards: image stacks above text */
  .podcast-card        { flex-direction: column; gap: 1rem; }
  .podcast-thumb       { width: 100%; max-width: 80px; }

  /* Service rows: single column */
  .service-row         { grid-template-columns: 1fr; }
  .service-img         { display: none; }
  .service-link        { grid-column: 1; }

  /* Buttons full-width on tiny screens */
  .hero-actions .btn,
  .btn-group .btn      { width: 100%; justify-content: center; max-width: 280px; }

  /* Book meta wraps */
  .book-meta           { flex-direction: column; gap: 0.75rem; }

  /* Footer nav columns stack */
  .footer-nav-cols     { flex-direction: column; gap: 1.5rem; }

  /* Testimonial cards: reduce padding */
  .testimonial-card    { padding: 1.5rem; }

  /* Contact details: smaller text */
  .contact-detail      { font-size: 0.82rem; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}
.animate-fade-up.delay-1 { animation-delay: 0.15s; }
.animate-fade-up.delay-2 { animation-delay: 0.3s; }
.animate-fade-up.delay-3 { animation-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  .animate-fade-up {
    opacity: 1;
    animation: none;
  }
  [data-reveal] { opacity: 1; transform: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ============================================================
   WORDPRESS CORE ALIGNMENT (keep WP happy)
   ============================================================ */
.aligncenter { display: block; margin: 0 auto; }
.alignleft   { float: left; margin-right: 1.5rem; }
.alignright  { float: right; margin-left: 1.5rem; }
.wp-caption  { max-width: 100%; }
