/* ========================================
   Virtuoso Content V2 — Design System
   Version: 2026-08-12-prod-deploy
   ======================================== */

:root {
  --navy: #0f172a;
  --navy-light: #1e293b;
  --gold: #c9a84c;
  --gold-bright: #d4af37;
  --gold-dark: #b8983f;
  --gray: #6b7280;
  --offwhite: #fafaf9;
  --white: #ffffff;
  --teal: #0d9488;
  --border: #e5e7eb;
  --charcoal: #111827;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
}

/* Global Resets — Path A: sections render at body level, bypassing Astra's container chain */
.page .entry-title, .page .ast-post-format- .entry-title, .page-title, .ast-single-post-order .entry-title { display: none !important; }
.page .entry-content { padding: 0 !important; margin: 0 !important; }
body { margin: 0; padding: 0; }
/* Hide Astra's page wrapper (we render sections at body level) */
#page, .hfeed, .site-content, #content, #primary { display: none !important; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section, .trust, .hero { width: 100%; box-sizing: border-box; }
section { padding: 96px 0; }
/* Fix Astra heading colors on dark backgrounds */
.hero h1, .hero h2, .hero h3, .hero h4,
.page-header h1, .page-header h2, .page-header h3,
.process h2, .process h3, .process h4,
.writers h2, .writers h3, .writers h4,
.network-callout h3,
.direct-contact h2, .direct-contact h3,
.newsletter-bar h3,
.cta-banner h2, .cta-banner h3,
.tab-hero h1, .tab-hero h2, .tab-hero h3, .tab-hero h4,
.why-tab h2, .why-tab h3 { color: var(--white) !important; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-header h2 { font-size: 40px; margin-bottom: 16px; color: var(--navy); }
.section-header p { color: var(--gray); font-size: 16px; }
.overline { font-size: 12px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: block; }

/* Typography */
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 400; line-height: 1.15; }
body { font-family: 'Inter', sans-serif; color: var(--navy); }
a { text-decoration: none; color: inherit; }

/* Buttons */
.btn-primary { background: var(--gold); color: var(--navy); padding: 16px 32px; border-radius: 6px; font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; transition: background .2s; border: none; cursor: pointer; display: inline-block; }
.btn-primary:hover { background: var(--gold-dark); }
.btn-secondary { background: transparent; color: var(--navy); border: 1px solid var(--navy); padding: 16px 32px; border-radius: 6px; font-weight: 500; font-size: 13px; letter-spacing: 0.05em; transition: all .2s; cursor: pointer; display: inline-block; }
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.4); padding: 16px 32px; border-radius: 6px; font-weight: 500; font-size: 13px; letter-spacing: 0.05em; transition: all .2s; cursor: pointer; display: inline-block; }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* Logo & Navigation */
.logo { display: flex !important; align-items: center !important; gap: 12px !important; text-decoration: none !important; }
.logo-img { height: 36px; width: auto; display: block; flex-shrink: 0; }
.logo-text { font-size: 22px !important; font-weight: 500 !important; letter-spacing: 0.5px !important; color: var(--gold) !important; font-family: 'Cormorant Garamond', serif !important; text-decoration: none !important; }
.logo-virtuoso { color: #ffffff !important; font-weight: 700 !important; }
.logo-content { color: var(--gold) !important; font-weight: 400 !important; }

.vc-nav { background: var(--navy) !important; padding: 0 24px !important; height: 72px !important; display: flex !important; align-items: center !important; position: sticky !important; top: 0 !important; z-index: 1000 !important; border-bottom: 1px solid rgba(255,255,255,0.08) !important; }
.vc-nav .container { display: flex !important; align-items: center !important; justify-content: space-between !important; width: 100% !important; }
.nav-links { display: flex !important; gap: 24px !important; align-items: center !important; }
.nav-links a { color: rgba(255,255,255,0.85) !important; text-decoration: none !important; font-size: 0.875rem !important; font-weight: 500 !important; letter-spacing: 0.03em !important; transition: color .2s !important; text-transform: uppercase; position: relative; }
.nav-links a:hover { color: var(--gold) !important; }
/* Active nav indicator — gold color + underline */
.nav-links a.active { color: var(--gold) !important; }
.nav-links a.active::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--gold); border-radius: 1px; }
.nav-cta { background: var(--gold) !important; color: var(--navy) !important; padding: 10px 20px !important; border-radius: 6px !important; font-weight: 600 !important; font-size: 0.75rem !important; letter-spacing: 0.08em !important; text-transform: uppercase !important; text-decoration: none !important; transition: background .2s !important; }
.nav-cta:hover { background: var(--gold-dark) !important; }

.nav-dropdown { position: relative; display: inline-flex; align-items: center; cursor: pointer; }
.nav-dropdown > a { position: relative; }
.nav-dropdown.active > a { color: var(--gold) !important; }
.nav-dropdown.active > a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--gold); border-radius: 1px; }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: -20px; background: var(--navy); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 12px 0; min-width: 220px; box-shadow: 0 8px 32px rgba(0,0,0,0.3); z-index: 200; }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 10px 20px; font-size: 13px; color: rgba(255,255,255,0.8); text-decoration: none; }
.nav-dropdown-menu a:hover { background: rgba(255,255,255,0.05); color: var(--gold); }

.hamburger { display: none; background: none; border: none; color: var(--white); font-size: 24px; cursor: pointer; }
.mobile-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; background: var(--navy); padding: 24px; flex-direction: column; gap: 16px; z-index: 999; border-top: 1px solid rgba(255,255,255,0.1); }
.mobile-menu a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 14px; text-transform: uppercase; }
.mobile-menu a.active { color: var(--gold); }
.mobile-menu.open { display: flex; }

/* Hero */
.hero { background: var(--navy); color: var(--white); padding: 120px 0 140px; position: relative; overflow: hidden; }
.hero::after { content:''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.7) 100%); }
.hero-bg { position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1504384308090-c54be3852f33?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat; opacity: 0.25; }
.hero .container { position: relative; z-index: 1; }
.hero-label { font-size: 12px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; display: inline-block; border-bottom: 1px solid var(--gold); padding-bottom: 8px; }
.hero h1 { font-size: 56px; font-weight: 300; max-width: 800px; margin-bottom: 24px; color: var(--white); }
.hero p { font-size: 18px; color: rgba(255,255,255,0.8); max-width: 560px; margin-bottom: 40px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* TAB Hero — 2-column layout with topic map grid */
.tab-hero { background: var(--navy); color: var(--white); padding: 120px 0 100px; position: relative; overflow: hidden; }
.tab-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,23,42,0.97) 0%, rgba(15,23,42,0.85) 50%, rgba(15,23,42,0.7) 100%); z-index: 1; }
.tab-hero .container { position: relative; z-index: 2; }
.tab-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.tab-hero-text .overline { margin-bottom: 16px; }
.tab-hero-text h1 { font-size: 52px; font-weight: 300; color: var(--white); margin-bottom: 20px; line-height: 1.1; }
.tab-hero-text p { font-size: 17px; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 32px; }
.tab-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
/* Topic map grid */
.topic-map { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 32px; position: relative; }
.topic-map-label { font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 20px; text-align: center; }
.topic-map-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.topic-map-item { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; padding: 18px 14px; text-align: center; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.7); transition: all .2s; cursor: default; }
.topic-map-item:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); }
.topic-map-item.active { background: var(--gold); color: var(--navy); border-color: var(--gold); font-weight: 600; }
.topic-map-item .magnify { font-size: 16px; display: block; margin-bottom: 6px; opacity: 0.6; }

/* Why TAB — 2-column with blueprint card */
.why-tab { background: var(--white); }
.why-tab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: flex-start; }
.why-tab-text .overline { margin-bottom: 16px; }
.why-tab-text h2 { font-size: 36px; color: var(--navy); margin-bottom: 20px; line-height: 1.2; }
.why-tab-text p { color: var(--gray); font-size: 16px; line-height: 1.7; margin-bottom: 16px; }
/* Blueprint card */
.blueprint-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.08); overflow: hidden; }
.blueprint-card-header { background: #1a365d; color: var(--white); padding: 16px 24px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.blueprint-card-header .check-icon { color: #48bb78; font-size: 16px; }
.blueprint-card-body { padding: 24px; }
.blueprint-card-item { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.blueprint-card-item:last-child { border-bottom: none; }
.blueprint-card-item .topic-name { font-size: 15px; font-weight: 500; color: var(--navy); }
.blueprint-card-item .topic-count { font-size: 13px; color: var(--gray); font-family: 'JetBrains Mono', monospace; }
.blueprint-card-item .check-dot { width: 8px; height: 8px; border-radius: 50%; background: #48bb78; margin-right: 12px; flex-shrink: 0; }
.blueprint-card-item .topic-left { display: flex; align-items: center; }

/* Trust bar */
.trust { background: var(--white); border-bottom: 1px solid var(--border); padding: 40px 0; }
.trust-logos { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; opacity: 0.5; }
.trust-logos span { font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); }

/* Problem / Solution */
.problem { background: var(--white); }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.problem-grid--full { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
.problem-text h3 { font-size: 40px; margin-bottom: 20px; font-weight: 400; text-align: left; font-family: 'Cormorant Garamond', serif; color: var(--navy); }
.problem-text p { color: var(--gray); margin-bottom: 16px; }
.problem-visual { background: var(--offwhite); border-radius: 12px; padding: 48px; border: 1px solid var(--border); }
.problem-visual .stat { font-family: 'JetBrains Mono', monospace; font-size: 36px; color: var(--navy); margin-bottom: 8px; }
.problem-visual .stat-label { font-size: 13px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.1em; }

/* TAB Overview / Phases */
.tab-overview { background: var(--offwhite); }
.phases { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; }
.phase-card { flex: 1 1 320px; max-width: 380px; background: var(--white); border-radius: 12px; padding: 40px; box-shadow: var(--shadow); text-align: center; transition: transform .2s; }
.phase-card:hover { transform: translateY(-4px); }
.phase-number { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; font-size: 18px; margin: 0 auto 24px; }
.phase-card h4 { font-size: 22px; margin-bottom: 12px; }
.phase-card p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* Results / Stats */
.results { background: var(--navy); color: var(--white); }
.results .section-header h2 { color: var(--white); }
.results .section-header p { color: rgba(255,255,255,0.7); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-item .stat-value { font-family: 'JetBrains Mono', monospace; font-size: 48px; color: var(--gold); margin-bottom: 8px; }
.stat-item .stat-desc { font-size: 14px; color: rgba(255,255,255,0.7); }

/* Testimonials */
.testimonials { background: var(--white); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.testimonial-card { background: var(--offwhite); border-radius: 12px; padding: 32px; border: 1px solid var(--border); }
.testimonial-card .quote { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-style: italic; line-height: 1.4; margin-bottom: 24px; color: var(--navy); }
.testimonial-card .author { font-weight: 600; font-size: 14px; }
.testimonial-card .role { font-size: 13px; color: var(--gray); }

/* Testimonial carousel */
.testimonial-carousel { position: relative; max-width: 800px; margin: 0 auto; }
.testimonial-slide { display: none; background: var(--white); border-radius: 12px; padding: 48px; box-shadow: var(--shadow); text-align: center; }
.testimonial-slide .quote { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-style: italic; line-height: 1.5; margin-bottom: 32px; color: var(--navy); }
.testimonial-slide .quote::before { content: '"'; color: var(--gold); font-size: 48px; line-height: 0; vertical-align: -16px; margin-right: 4px; }
.testimonial-slide .author-block { display: flex; align-items: center; justify-content: center; gap: 16px; }
.testimonial-slide .author-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; color: var(--gold); font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 600; }
.testimonial-slide .author-info { text-align: left; }
.testimonial-slide .author-name { font-weight: 600; font-size: 15px; }
.testimonial-slide .author-role { font-size: 13px; color: var(--gray); }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.carousel-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); cursor: pointer; transition: background .2s; }
.carousel-dots .dot.active { background: var(--gold); }
.carousel-nav { display: flex; justify-content: center; gap: 16px; margin-top: 24px; }
.carousel-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--white); color: var(--navy); cursor: pointer; font-size: 18px; transition: all .2s; }
.carousel-nav button:hover { border-color: var(--gold); color: var(--gold); }

/* Services preview */
.services-preview { background: var(--offwhite); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.service-card { background: var(--white); border-radius: 12px; padding: 32px; border: 1px solid var(--border); transition: box-shadow .2s; }
.service-card:hover { box-shadow: var(--shadow); }
.service-card h4 { font-size: 20px; margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--gray); line-height: 1.6; }
.service-card a { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--gold); padding-bottom: 2px; transition: color .2s; }
.service-card a:hover { color: var(--gold); }

/* CTA Banner */
.cta-banner { background: var(--navy); color: var(--white); padding: 80px 0; text-align: center; }
.cta-banner h2 { font-size: 40px; margin-bottom: 16px; color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.7); max-width: 520px; margin: 0 auto 32px; }

/* Footer */
.vc-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 64px 0 32px; font-size: 13px; }
.vc-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.vc-footer .brand { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--gold); margin-bottom: 12px; }
.vc-footer .tagline { color: rgba(255,255,255,0.5); margin-bottom: 0; }
.vc-footer h5 { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin: 0 0 16px; }
.vc-footer ul { list-style: none; padding: 0; margin: 0; }
.vc-footer li { margin-bottom: 10px; }
.vc-footer a { color: rgba(255,255,255,0.7); transition: color .2s; text-decoration: none; }
.vc-footer a:hover { color: var(--gold); }

.vc-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.4);
}

.vc-footer .footer-bottom p { margin: 0; }

.vc-footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.vc-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  transition: background .2s, color .2s;
}

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

/* Deliverables */
.deliverable-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.deliverable-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 32px; transition: box-shadow .2s; }
.deliverable-card:hover { box-shadow: var(--shadow); }
.deliverable-card h4 { font-size: 20px; margin-bottom: 8px; color: var(--navy); }
.deliverable-card p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* Example topics */
.topic-tree { max-width: 900px; margin: 0 auto; }
.tree-pillar { background: var(--navy); color: var(--white); padding: 20px 32px; border-radius: 12px 12px 0 0; font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 500; text-align: center; }
.tree-clusters { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 24px 0; }
.tree-card { background: var(--offwhite); border: 1px solid var(--border); border-radius: 10px; padding: 24px; }
.tree-card strong { display: block; font-size: 15px; margin-bottom: 12px; color: var(--navy); }
.tree-card ul { list-style: none; padding: 0; margin: 0; }
.tree-card li { font-size: 14px; color: var(--gray); padding: 4px 0; line-height: 1.5; }

/* Pricing card in TAB page */
.tab-pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.tab-pricing-info { padding: 20px 0; }
.tab-pricing-info .overline { margin-bottom: 16px; }
.tab-pricing-info h2 { font-size: 36px; color: var(--navy); margin-bottom: 16px; }
.tab-pricing-info p { color: var(--gray); font-size: 16px; line-height: 1.7; margin-bottom: 24px; }
.tab-pricing-card { background: var(--offwhite); border: 1px solid var(--border); border-radius: 12px; padding: 32px; }
.tab-pricing-card .price-label { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.tab-pricing-card .price-amount { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 500; color: var(--navy); margin-bottom: 4px; }
.tab-pricing-card .price-desc { font-size: 14px; color: var(--gray); margin-bottom: 24px; }
.tab-pricing-card ul { list-style: none; padding: 0; margin: 0; }
.tab-pricing-card li { font-size: 14px; color: var(--navy); padding: 10px 0; border-bottom: 1px solid var(--border); }
.tab-pricing-card li:last-child { border-bottom: none; }
.tab-pricing-card li .check { color: #48bb78; margin-right: 8px; }

/* Hide Astra default footer builder output */
.site-footer,
#colophon,
.site-below-footer-wrap,
.ast-footer-copyright,
.ast-footer-row-stack { display: none !important; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .tab-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-tab-grid { grid-template-columns: 1fr; gap: 40px; }
  .tab-pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .hero h1 { font-size: 36px; }
  .tab-hero-text h1 { font-size: 36px; }
  .problem-grid, .phases, .stats-grid, .testimonial-grid, .services-grid, .deliverable-grid, .tab-followup, .svc-grid, .svc-process-cards { grid-template-columns: 1fr; }
  .vc-footer-grid { grid-template-columns: 1fr 1fr; }
  .tree-clusters { grid-template-columns: 1fr; }
  .topic-map-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .hero { padding: 80px 0 100px; }
  .tab-hero { padding: 80px 0 60px; }
  section { padding: 64px 0; }
  .vc-footer-grid { grid-template-columns: 1fr; }
  .vc-footer .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .topic-map-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .tab-hero-actions { flex-direction: column; }
}

@media (max-width: 768px) and (min-width: 481px) {
  .vc-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .vc-footer-grid { grid-template-columns: 1fr; }
  .topic-map-grid { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════════
   Visual Enhancement Layer — v2.1
   Refined Editorial Authority
   ══════════════════════════════════════════ */

/* ─── Scroll Reveal System ─── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ─── Nav: depth on scroll ─── */
.vc-nav.nav-scrolled { box-shadow: 0 4px 40px rgba(0,0,0,0.4) !important; }

/* ─── Hero: dramatic heading + top gold rule ─── */
.hero::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold) 0%, rgba(201,168,76,0.15) 60%, transparent 100%); z-index: 2; pointer-events: none; }
.hero h1 { font-size: 72px !important; letter-spacing: -0.02em !important; line-height: 1.06 !important; }
@media (max-width: 900px) { .hero h1 { font-size: 44px !important; } }
@media (max-width: 600px) { .hero h1 { font-size: 36px !important; } }

/* ─── Section headers: gold rule anchor ─── */
.section-header { padding-top: 8px; }
.section-header::before { content: ""; display: block; width: 32px; height: 2px; background: var(--gold); margin: 0 auto 24px; }

/* ─── Buttons: lift on hover ─── */
.btn-primary { box-shadow: 0 2px 12px rgba(201,168,76,0.22); transition: background .2s, transform .15s ease, box-shadow .15s ease !important; }
.btn-primary:hover { background: var(--gold-dark) !important; transform: translateY(-2px) !important; box-shadow: 0 8px 24px rgba(201,168,76,0.35) !important; }
.btn-primary:active { transform: translateY(0) !important; }
.btn-ghost:hover { transform: translateY(-1px) !important; }

/* ─── Phase cards: editorial top-border treatment ─── */
.phase-card { text-align: left !important; border-top: 2px solid var(--border); border-radius: 0 0 12px 12px !important; transition: border-top-color .25s, transform .2s !important; }
.phase-card:hover { border-top-color: var(--gold) !important; }
.phase-number { margin: 0 0 24px 0 !important; }

/* ─── Stats: vertical dividers + larger numbers ─── */
.stats-grid { gap: 0 !important; }
.stat-item { padding: 16px 40px; border-left: 1px solid rgba(255,255,255,0.08); }
.stat-item:first-child { border-left: none; padding-left: 0; }
.stat-item:last-child { padding-right: 0; }
.stat-item .stat-value { font-size: 56px !important; line-height: 1 !important; }

/* ─── Testimonials: large background quote mark ─── */
.testimonial-card { position: relative; overflow: hidden; }
.testimonial-card::before { content: "“"; position: absolute; top: -12px; right: 16px; font-family: "Cormorant Garamond", serif; font-size: 130px; line-height: 1; color: var(--gold); opacity: 0.07; pointer-events: none; }

/* ─── Service cards: stronger hover ─── */
.service-card { transition: transform .2s, box-shadow .2s !important; }
.service-card:hover { transform: translateY(-3px) !important; box-shadow: 0 16px 40px rgba(0,0,0,0.08) !important; }

/* ─── CTA Banner: gold top rule + radial glow ─── */
.cta-banner { position: relative; overflow: hidden; }
.cta-banner::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent 0%, var(--gold) 20%, var(--gold) 80%, transparent 100%); }
.cta-banner::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 65%); pointer-events: none; }
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { font-size: 48px !important; }

/* ─── Trust bar: slightly more visible ─── */
.trust-logos { opacity: 0.65 !important; }

/* ─── Page headers: larger h1 ─── */
.page-header h1 { font-size: 60px !important; }
@media (max-width: 768px) { .page-header h1 { font-size: 40px !important; } }
@media (max-width: 600px) { .page-header h1 { font-size: 32px !important; } }

/* ─── Footer: brand refinement ─── */
.vc-footer .brand { font-size: 24px !important; letter-spacing: 0.02em !important; }
.vc-footer-brand-col .tagline { font-style: italic; opacity: 0.6; }

/* ─── Blueprint card: gold left accent ─── */
.blueprint-card { border-left: 3px solid var(--gold) !important; }

/* ─── Problem stat numbers: larger ─── */
.problem-visual .stat { font-size: 48px !important; }

/* ─── Phase card numbers: bigger on hover ─── */
.phase-card .phase-number { transition: transform .2s ease; }
.phase-card:hover .phase-number { transform: scale(1.05); }

/* ─── Deliverable cards: left gold tick on hover ─── */
.deliverable-card { border-left: 2px solid transparent; transition: box-shadow .2s, border-left-color .2s !important; }
.deliverable-card:hover { border-left-color: var(--gold) !important; box-shadow: var(--shadow) !important; }

@keyframes statPulse { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }


/* ── Hero background image support for page-header and tab-hero ── */
.page-header { position: relative; overflow: hidden; }
.page-header::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,23,42,0.94) 0%, rgba(15,23,42,0.74) 100%); }
.page-header .container { position: relative; z-index: 1; }
.page-header .hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; opacity: 0.22; }
.tab-hero .hero-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; background-repeat: no-repeat; opacity: 0.2; }

/* ── Prose body copy (the_content() on inner pages: services, results, pricing, tab, about, terms, privacy) ── */
.prose { max-width: 760px; margin: 0 auto; padding: 64px 24px; }
.prose h2 { font-size: 32px; margin: 48px 0 16px; color: var(--navy); font-weight: 500; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 24px; margin: 36px 0 12px; color: var(--navy); font-weight: 500; }
/* Trust bar removed — hide any legacy trust bar rendered by old template */
.trust { display: none !important; }
/* Blockquote styling (for Amazon review on Lead Magnets page, etc.) */
.prose blockquote { margin: 24px 0; padding: 16px 24px; border-left: 3px solid var(--gold); background: var(--offwhite); border-radius: 0 8px 8px 0; }
.prose blockquote p { margin-bottom: 8px; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose h4 { font-size: 32px; margin: 48px 0 16px; color: var(--navy); font-weight: 500; line-height: 1.15; font-family: 'Cormorant Garamond', serif; }
.prose p { color: var(--gray); line-height: 1.7; margin-bottom: 16px; }
/* ─── Services page: icon + number cards (Treatment C — gold icon, navy stroke) ─── */
/* 2-column grid for service cards */
.prose > div > .svc-card:nth-child(1),
.prose > div > .svc-card:nth-child(2),
.prose > div > .svc-card:nth-child(3),
.prose > div > .svc-card:nth-child(4),
.prose > div > .svc-card:nth-child(5),
.prose > div > .svc-card:nth-child(6) {
  /* will be wrapped in a grid via JS */
}
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.svc-grid .svc-card { margin-bottom: 0; }
/* Wider container for the Services page specifically */
.page-id-10 .container.prose { max-width: 1080px; }
/* Process section: 4 cards in a row */
.svc-process-section { margin-top: 48px; }
.svc-process-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 32px; }
.svc-process-cards .svc-card {
  display: flex; flex-direction: column; gap: 16px; text-align: center; padding: 24px;
  background: var(--white); border-radius: 12px; border: 1px solid var(--border); margin-bottom: 0;
}
.svc-process-cards .svc-card .svc-icon-box { width: 100% !important; display: flex !important; flex-direction: column !important; align-items: center !important; gap: 8px !important; flex-shrink: unset !important; }
.svc-process-cards .svc-card .svc-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.svc-process-cards .svc-card .svc-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 1.5; }
.svc-process-cards .svc-card .svc-num {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600;
  color: var(--navy); letter-spacing: 0.05em;
}
.svc-process-cards .svc-card .svc-body { flex: 1; }
.svc-process-cards .svc-card .svc-body h2 { font-size: 18px; text-align: center; margin-bottom: 8px; color: var(--navy); }
.svc-process-cards .svc-card .svc-body p { font-size: 13px; text-align: center; color: var(--gray); line-height: 1.6; }
/* CTA at bottom of services page */
.svc-process-section ~ h2,
.svc-process-cards ~ h2 { font-size: 32px; margin: 48px 0 16px; color: var(--navy); font-weight: 500; }
.svc-process-cards ~ p { color: var(--gray); line-height: 1.7; margin-bottom: 16px; }
.svc-process-cards ~ p > a { display: inline-block; margin-top: 16px; }
.prose .svc-card {
  display: flex; gap: 28px; margin-bottom: 32px;
  padding: 28px; background: var(--white); border-radius: 12px; border: 1px solid var(--border);
}
.prose .svc-card .svc-icon-box { flex-shrink: 0; width: 56px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.prose .svc-card .svc-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.prose .svc-card .svc-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 1.5; }
.prose .svc-card .svc-num {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600;
  color: var(--navy); letter-spacing: 0.05em;
}
.prose .svc-card .svc-body { flex: 1; }
.prose .svc-card .svc-body h2 { font-size: 26px; margin-bottom: 12px; color: var(--navy); }
.prose .svc-card .svc-body p { font-size: 15px; color: var(--gray); line-height: 1.7; margin-bottom: 16px; }
.prose .svc-card .svc-body ul { list-style: none; padding: 0; }
.prose .svc-card .svc-body li { font-size: 14px; color: var(--gray); padding: 4px 0; padding-left: 20px; position: relative; }
.prose .svc-card .svc-body li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }
.prose ul, .prose ol { color: var(--gray); line-height: 1.7; margin: 0 0 16px; padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--navy); }
.prose a.btn-primary { display: inline-block; margin-top: 16px; }
/* Inline links: gold underline, navy text */
.prose a:not(.btn-primary) {
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  transition: color .2s;
}
.prose a:not(.btn-primary):hover {
  color: var(--gold);
}
/* Footer links: override prose link styles — white text, no gold underline */
.vc-footer a:not(.btn-primary) {
  color: rgba(255,255,255,0.7) !important;
  border-bottom: none !important;
}
.vc-footer a:not(.btn-primary):hover {
  color: var(--gold) !important;
}
/* Standalone CTA links (JS adds .prose-cta class when paragraph contains ONLY the link) */
.prose a.prose-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
  border: none;
  transition: background .2s, transform .15s ease;
  box-shadow: 0 2px 12px rgba(201,168,76,0.22);
}
.prose a.prose-cta:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}
@media (max-width: 768px) { .prose { padding: 40px 20px; } }

/* ── "Pop" treatment for emphasized inline words (client note: make it POP visually) ── */
.pop-word { color: var(--gold-dark, var(--gold)); }

/* ── TAB Overview follow-up (text + photo pair below the phase cards) ── */
.tab-followup { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--border); }
.tab-followup--text-only { grid-template-columns: 1fr; max-width: 760px; margin-left: auto; margin-right: auto; }
.tab-followup-text p { font-size: 17px; line-height: 1.75; color: var(--gray); margin: 0; }
.tab-followup-photo { margin: 0 auto; background: var(--offwhite); border: 1px solid var(--border); border-radius: 12px; padding: 16px; max-width: 500px; text-align: center; }
.tab-followup-photo img { display: block; width: 100%; height: auto; border-radius: 8px; margin: 0 auto; }
.tab-followup-photo figcaption { padding-top: 12px; font-size: 13px; color: var(--gray); text-align: center; }

/* ── Homepage: figure/photo alignment fix (center the Whiffenpoof image) ── */
.problem figure, .problem figure img, .problem figcaption { margin-left: auto; margin-right: auto; text-align: center; }
.problem figure img { display: block; max-width: 500px; width: 100%; height: auto; border-radius: 8px; }
.problem figcaption { text-align: center; font-size: 13px; color: var(--gray); padding-top: 12px; }

/* ── Homepage: visual section separation between .problem (white) and .tab-overview (offwhite) ── */
.problem { border-bottom: 1px solid var(--border); }

/* ── Homepage: center the 2 Simple Steps phase cards with more breathing room ── */
.tab-overview .phases { justify-content: center; }
.tab-overview .phase-card { text-align: center !important; }
.tab-followup--text-only .tab-followup-text { padding-bottom: 32px; }

/* ── Services page: full-detail sections below the numbered overview ── */
.service-detail { border-top: 2px solid var(--border); margin-top: 56px; padding-top: 40px; }
.service-detail h3 { color: var(--navy); }

/* ── About page: team headshot layout ── */
.team-headshot {
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 16px;
}
.prose h3 + p + .team-headshot,
.prose .team-headshot + h3 { margin-top: 40px; }
