/* ============================================================
   Best Life Apps — Celtic Theme Stylesheet
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Cinzel:wght@400;600;700&family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  --bg-dark:        #07080f;
  --bg-secondary:   #0d1020;
  --bg-card:        rgba(10, 12, 28, 0.85);
  --celtic-blue:    #1e50c8;
  --celtic-blue-lt: #4a7ae8;
  --gold:           #c9a84c;
  --gold-lt:        #e8c870;
  --gold-dk:        #8a6a1e;
  --green:          #1e5c1e;
  --green-lt:       #3a8a3a;
  --text-light:     #f0ede8;
  --text-muted:     #b0a890;
  --border-gold:    rgba(201, 168, 76, 0.4);
  --border-blue:    rgba(30, 80, 200, 0.4);
  --shadow-gold:    0 0 20px rgba(201, 168, 76, 0.3);
  --shadow-blue:    0 0 20px rgba(30, 80, 200, 0.4);
  --radius:         6px;
  --transition:     0.3s ease;
  --font-heading:   'Cinzel Decorative', serif;
  --font-sub:       'Cinzel', serif;
  --font-body:      'Crimson Text', Georgia, serif;
  --nav-height:     80px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--gold-lt); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--celtic-blue-lt); }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--gold);
  line-height: 1.25;
  margin-bottom: 0.75em;
}

h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.6rem); }

p { margin-bottom: 1.2em; font-size: 1.1rem; }

/* ---------- Celtic Divider ---------- */
.celtic-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 2rem 0;
}
.celtic-divider::before,
.celtic-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.celtic-divider-icon { color: var(--gold); font-size: 1.4rem; }

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: linear-gradient(to bottom, rgba(7,8,15,0.97), rgba(7,8,15,0.85));
  border-bottom: 1px solid var(--border-gold);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition);
}
#site-header.scrolled {
  height: 64px;
  background: rgba(7,8,15,0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 1;
  min-width: 0;
}
.site-logo img {
  height: 58px;
  width: 58px;
  object-fit: contain;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.site-logo:hover img { transform: rotate(5deg) scale(1.05); }
.site-logo-text { display: flex; flex-direction: column; min-width: 0; }
.site-logo-text .brand-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--gold);
  line-height: 1.1;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-logo-text .brand-tagline {
  font-family: var(--font-sub);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Navigation */
#primary-nav { display: flex; align-items: center; gap: 4px; }

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-menu > li { position: relative; }

.nav-menu > li > a {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
}

/* Dropdown */
.nav-menu .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: rgba(10, 12, 28, 0.97);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  list-style: none;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--transition);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6), var(--shadow-gold);
}
.nav-menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-menu .sub-menu li a {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-sub);
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  transition: all var(--transition);
}
.nav-menu .sub-menu li a:hover {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
  padding-left: 28px;
}
.nav-menu li.menu-item-has-children > a::after {
  content: ' ▾';
  font-size: 0.7em;
  opacity: 0.7;
  transition: transform var(--transition);
  display: inline-block;
}
.nav-menu li.menu-item-has-children:hover > a::after { transform: rotate(180deg); }

/* Join Us CTA button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  color: var(--bg-dark) !important;
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid var(--gold);
  transition: all var(--transition);
  margin-left: 10px;
  box-shadow: var(--shadow-gold);
}
.nav-cta:hover {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  color: var(--bg-dark) !important;
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.6);
  transform: translateY(-1px);
}

/* Cart icon nav item */
.nav-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 6px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  transition: all var(--transition);
}
.nav-cart-link:hover { border-color: var(--gold); background: rgba(201,168,76,0.1); color: var(--gold-lt); }
.nav-cart-link svg { width: 19px; height: 19px; }
.nav-cart-link .cart-count {
  position: absolute;
  top: -6px; right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--celtic-blue);
  color: #fff;
  font-family: var(--font-sub);
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid var(--bg-dark);
  line-height: 1;
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 8px 10px;
  cursor: pointer;
  color: var(--gold);
  font-size: 1.3rem;
  line-height: 1;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://galaxy-prod.tlcdn.com/gen/user_36V76f8SLogUeR4x1djZlyyPVqk/d84f89c2-f3eb-4024-bac1-e59067d66fbf.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.55);
  transform: scale(1.03);
  transition: transform 8s ease;
}
#hero:hover .hero-bg { transform: scale(1.0); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 20%, rgba(7,8,15,0.5) 70%, rgba(7,8,15,0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 40px 24px;
}

.hero-logo {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin: 0 auto 32px;
  filter: drop-shadow(0 0 40px rgba(201, 168, 76, 0.5));
  animation: float 6s ease-in-out infinite;
}

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

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--gold);
  text-shadow: 0 0 40px rgba(201,168,76,0.5), 2px 2px 8px rgba(0,0,0,0.8);
  margin-bottom: 16px;
}

.hero-subtitle {
  font-family: var(--font-sub);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 620px;
  margin: 0 auto 40px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font-sub);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  color: var(--bg-dark);
  box-shadow: var(--shadow-gold);
  border: 1px solid var(--gold);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(201,168,76,0.6);
}
.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-secondary:hover {
  background: rgba(201,168,76,0.12);
  color: var(--gold-lt);
  transform: translateY(-2px);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: var(--font-sub);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.scroll-indicator .arrow { font-size: 1.2rem; color: var(--gold); }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section {
  padding: 80px 24px;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-label {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--celtic-blue-lt);
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* Alternating section backgrounds */
.section-dark  { background: var(--bg-dark); }
.section-alt   { background: var(--bg-secondary); }
.section-celtic {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.section-celtic::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://galaxy-prod.tlcdn.com/view/user_36V76f8SLogUeR4x1djZlyyPVqk/89e4fc99a55940409033210d12c0283c.webp') center/cover;
  opacity: 0.06;
  filter: saturate(0.5);
}

/* ============================================================
   WELCOME SECTION
   ============================================================ */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.welcome-grid > .welcome-text:only-child { grid-column: 1 / -1; max-width: 700px; margin: 0 auto; }
.welcome-image-wrap {
  position: relative;
}
.welcome-image-wrap img {
  border-radius: 8px;
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), var(--shadow-gold);
}
.welcome-image-wrap::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  pointer-events: none;
}
.welcome-text .eyebrow {
  font-family: var(--font-sub);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--celtic-blue-lt);
  margin-bottom: 12px;
  display: block;
}

/* ============================================================
   FEATURES / CARDS
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--celtic-blue), var(--gold), var(--celtic-blue));
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow-gold); }
.card:hover::before { opacity: 1; }

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}
.card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--gold);
}
.card p { color: var(--text-muted); font-size: 1rem; margin: 0; }

/* ============================================================
   OFFERS SECTION
   ============================================================ */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.offer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--transition);
}
.offer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-gold); }
.offer-card-header {
  background: linear-gradient(135deg, var(--green), #0d2e0d);
  padding: 28px 24px;
  border-bottom: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  gap: 14px;
}
.offer-card-header .offer-icon { font-size: 2rem; }
.offer-card-header h3 { margin: 0; font-size: 1.1rem; color: var(--gold); }
.offer-card-body { padding: 24px; }
.offer-card-body p { color: var(--text-muted); margin-bottom: 20px; font-size: 1rem; }

/* ============================================================
   MEMBERSHIP TIERS
   ============================================================ */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 820px;
  margin: 0 auto;
}
.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
}
.tier-card:hover { transform: translateY(-4px); }
.tier-card-featured { border-color: var(--gold); box-shadow: var(--shadow-gold); }
.tier-card h3 { margin-bottom: 8px; }
.tier-price {
  font-family: var(--font-sub);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}
.tier-card p { color: var(--text-muted); }
.tier-features {
  list-style: none;
  text-align: left;
  margin: 24px 0;
}
.tier-features li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}
.tier-features li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.tier-card .btn { width: 100%; justify-content: center; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0d1530 0%, #0a1a0a 50%, #0d1530 100%);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://galaxy-prod.tlcdn.com/view/user_36V76f8SLogUeR4x1djZlyyPVqk/015ef0d5c5b84d5aa84c8f03f7c73e82.webp') center/cover;
  opacity: 0.08;
  filter: saturate(0.4);
}
.cta-banner-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-banner h2 { font-size: clamp(1.6rem, 3.5vw, 2.8rem); margin-bottom: 16px; }
.cta-banner p { color: var(--text-muted); font-size: 1.15rem; margin-bottom: 36px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border-blue);
  border-radius: 8px;
  padding: 32px 28px;
}
.testimonial-quote {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}
.testimonial-quote::before { content: '\201C'; color: var(--gold); font-size: 2rem; line-height: 0; vertical-align: -0.4em; margin-right: 4px; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--celtic-blue), var(--green));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sub);
  font-weight: 700;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-name { font-family: var(--font-sub); font-size: 0.9rem; color: var(--gold); font-weight: 600; }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: #050609;
  border-top: 1px solid var(--border-gold);
  padding: 60px 24px 30px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr var(--footer-extra-cols, 1fr 1fr 1fr);
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .footer-logo img {
  height: 70px;
  width: 70px;
  object-fit: contain;
  margin-bottom: 16px;
}
.footer-brand .brand-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-col h4 {
  font-family: var(--font-sub);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-gold);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }

.social-links { display: flex; gap: 12px; flex-wrap: wrap; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  color: var(--text-muted);
  transition: all var(--transition);
  text-decoration: none;
}
.social-link svg { width: 17px; height: 17px; }
.social-link:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.1); transform: translateY(-2px); }

.footer-bottom {
  border-top: 1px solid rgba(201,168,76,0.15);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copyright {
  font-family: var(--font-sub);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-family: var(--font-sub);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.footer-links a:hover { color: var(--gold); }

/* ============================================================
   PAGE CONTENT
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-height) + 60px) 24px 60px;
  text-align: center;
  background: linear-gradient(180deg, rgba(10,12,28,0.95) 0%, var(--bg-dark) 100%);
  border-bottom: 1px solid var(--border-gold);
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero .breadcrumb {
  font-family: var(--font-sub);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.page-hero .breadcrumb a { color: var(--celtic-blue-lt); }
.page-hero .breadcrumb span { color: var(--gold); }
.page-hero-subtitle { color: var(--text-muted); margin-top: 8px; }

.post-meta-line {
  color: var(--text-muted);
  margin-top: 12px;
  font-family: var(--font-sub);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post-nav {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.post-tags {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag-pill {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  font-family: var(--font-sub);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  transition: all var(--transition);
}
.tag-pill:hover { color: var(--gold); border-color: var(--gold); background: rgba(201,168,76,0.1); }

.author-bio {
  max-width: 820px;
  margin: 0 auto 32px;
  padding: 0 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.author-bio-avatar img { border-radius: 50%; border: 1px solid var(--border-gold); }
.author-bio-body h4 { font-size: 1rem; margin-bottom: 6px; }
.author-bio-body p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0; }

.entry-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.entry-content h2, .entry-content h3 { margin-top: 1.8em; }
.entry-content ul, .entry-content ol { padding-left: 1.5em; margin-bottom: 1.2em; color: var(--text-muted); }
.entry-content li { margin-bottom: 0.5em; }
.entry-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 12px 24px;
  margin: 2em 0;
  background: rgba(201,168,76,0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-muted);
}

/* Posts grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}
.post-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--celtic-blue), var(--gold), var(--celtic-blue));
  opacity: 0.5;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.post-card-thumb img { width: 100%; height: 200px; object-fit: cover; }
.post-card-body { padding: 24px; }
.post-card-meta {
  font-family: var(--font-sub);
  font-size: 0.75rem;
  color: var(--celtic-blue-lt);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.post-card h3 { font-size: 1rem; margin-bottom: 10px; }
.post-card h3 a { color: var(--gold); }
.post-card h3 a:hover { color: var(--gold-lt); }
.post-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 16px; }

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 { margin-bottom: 24px; }
.contact-info p { color: var(--text-muted); margin-bottom: 12px; }
.contact-item { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.contact-item .contact-icon { font-size: 1.4rem; color: var(--gold); }
.contact-item span { color: var(--text-muted); }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group label {
  display: block;
  font-family: var(--font-sub);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--celtic-blue-lt);
  background: rgba(255,255,255,0.08);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select option { background: var(--bg-secondary); }

/* ============================================================
   BLA SHOP -- layout only. Component styling (product cards, cart
   table, buttons, forms) lives in the plugin's own bla-shop.css using
   the same --gold/--border-gold/--bg-card/--radius vars with fallbacks
   -- deliberately not duplicated here to avoid the same specificity
   conflicts hit earlier with the newsletter-signup form.
   ============================================================ */
/* BLA Shop pages (Shop/Cart/Checkout/Order Confirmation) are plain pages
   identified by shortcode, not a page template (see bla_body_classes()) --
   their product grid/cart table need more room than the default
   .entry-content width. */
body.bla-shop-page .entry-content {
  max-width: 1200px;
}

/* ============================================================
   NEWSLETTER SIGNUP (shared by the homepage section + footer mini-form)
   The bla-newsletter plugin ships its own theme-aware CSS for
   .bla-newsletter-signup-form / .bla-newsletter-message (uses the
   same --border-gold/--radius vars) — only layout for the two
   placements lives here, nothing that duplicates or fights it.
   ============================================================ */
.newsletter-form-wrap {
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form-wrap .btn { flex-shrink: 0; }

.footer-newsletter { margin-top: 28px; }
.footer-newsletter h4 {
  font-family: var(--font-sub);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-newsletter .bla-newsletter-signup-form {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  max-width: none;
}
.footer-newsletter .bla-newsletter-signup-form .btn { justify-content: center; }

/* ============================================================
   TOOLS PAGE (SERAH OS / LLC cards)
   ============================================================ */
.tools-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.tool-card { position: relative; text-align: center; padding-top: 44px; }
.tool-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(30,92,30,0.25);
  border: 1px solid var(--border-gold);
  color: var(--gold-lt);
  font-family: var(--font-sub);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}
.tool-icon {
  width: 64px; height: 64px;
  object-fit: contain;
  margin: 0 auto 20px;
  border-radius: 12px;
}
.tool-tagline {
  font-family: var(--font-sub);
  font-size: 0.85rem;
  color: var(--celtic-blue-lt);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.tool-card .btn { margin-top: 12px; }

/* ============================================================
   VIDEO EMBED (sermon single/library)
   ============================================================ */
.video-embed-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin-bottom: 32px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-gold);
}
.video-embed-wrap iframe,
.video-embed-wrap embed,
.video-embed-wrap object {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ============================================================
   TAG PILL — active state (sermon series filter)
   ============================================================ */
.tag-pill-active { color: var(--gold); border-color: var(--gold); background: rgba(201,168,76,0.1); }

/* ============================================================
   RENDER PERFORMANCE
   Skip layout/paint work for offscreen sections until they're
   about to scroll into view.
   ============================================================ */
.section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

/* ============================================================
   ACCESSIBILITY — respect reduced-motion preference
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { transition: none; opacity: 1; transform: none; }
  .hero-bg, .hero-logo, .scroll-indicator { animation: none !important; transition: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .welcome-grid { grid-template-columns: 1fr; gap: 40px; }
  .welcome-image-wrap { order: -1; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .menu-toggle { display: flex; align-items: center; flex-shrink: 0; }
  .site-logo img { height: 40px; width: 40px; }
  .site-logo-text .brand-tagline { display: none; }
  #primary-nav {
    position: fixed;
    top: var(--nav-height); left: 0; right: 0;
    background: rgba(7,8,15,0.98);
    border-bottom: 1px solid var(--border-gold);
    padding: 0 24px;
    flex-direction: column;
    align-items: stretch;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    backdrop-filter: blur(12px);
  }
  #primary-nav.open { max-height: 80vh; overflow-y: auto; padding: 16px 24px 24px; }
  .nav-menu { flex-direction: column; width: 100%; gap: 0; align-items: stretch; }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a { display: block; width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(201,168,76,0.1); border-radius: 0; text-align: left; box-sizing: border-box; }
  .nav-menu .sub-menu {
    position: static;
    opacity: 1; visibility: visible;
    transform: none;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-menu li.menu-item-has-children.sub-open > .sub-menu { max-height: 600px; }
  .nav-menu li.menu-item-has-children > a::after { display: inline-block; transition: transform 0.3s ease; }
  .nav-menu li.menu-item-has-children.sub-open > a::after { transform: rotate(180deg); }
  .nav-menu > li > a.nav-cta { display: inline-flex; width: auto; margin: 12px 0 0; }
  .nav-menu > li > a.nav-cart-link { display: inline-flex; width: 40px; margin: 8px 0; padding: 0; border-bottom: none; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-logo { width: 150px; height: 150px; }
}

@media (max-width: 480px) {
  .section { padding: 56px 16px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* Celtic glow pulse on logo */
@keyframes glow-pulse {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(201,168,76,0.4)); }
  50% { filter: drop-shadow(0 0 60px rgba(201,168,76,0.7)); }
}
.hero-logo { animation: float 6s ease-in-out infinite, glow-pulse 4s ease-in-out infinite; }
