/* ============================================================
   Lodestone — Shared Stylesheet
   Every page depends on this file.
   ============================================================ */

/* ------------------------------------------------------------
   1. RESET
   ------------------------------------------------------------ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

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

ul, ol { list-style: none; }

button { font: inherit; border: none; background: none; cursor: pointer; }

input, textarea, select { font: inherit; }


/* ------------------------------------------------------------
   2. CUSTOM PROPERTIES
   ------------------------------------------------------------ */

:root {
  /* Brand Palette */
  --bg-primary: #0a0f1a;
  --bg-secondary: #0f1629;
  --bg-tertiary: #141d32;
  --accent-gold: #d4a853;
  --accent-gold-hover: #e8c06a;
  --accent-gold-subtle: rgba(212, 168, 83, 0.08);
  --text-primary: #f0f2f5;
  --text-secondary: #a0aec0;
  --text-muted: #6b7a90;
  --border: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(212, 168, 83, 0.2);

  /* Spacing (4px scale) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 120px;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows & Elevation — single shadow per token */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 20px rgba(212,168,83,0.25);

  /* Transitions — 200ms base, specific properties only */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 400ms ease;
}


/* ------------------------------------------------------------
   3. BASE STYLES
   ------------------------------------------------------------ */

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.75;
}

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

a:hover:not(.btn-primary):not(.btn-secondary):not(.btn-ghost):not(.nav-cta) {
  color: var(--accent-gold-hover);
}

/* Fixed nav clearance */
main { padding-top: 96px; }


/* ------------------------------------------------------------
   4. TYPOGRAPHY
   ------------------------------------------------------------ */

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  line-height: 1.2;
}

h1 {
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.1;
}

h2 {
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
}

h3 {
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.3;
}

h4 {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
}

small,
.text-small,
.caption {
  font-size: 0.85rem;
  line-height: 1.5;
}

p + p {
  margin-top: var(--space-md);
}


/* ------------------------------------------------------------
   5. LAYOUT — Containers
   ------------------------------------------------------------ */

.container       { max-width: 1100px; margin: 0 auto; padding: 0 var(--space-lg); }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 var(--space-lg); }
.container-wide  { max-width: 1280px; margin: 0 auto; padding: 0 var(--space-lg); }


/* ------------------------------------------------------------
   6. ACCESSIBILITY
   ------------------------------------------------------------ */

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--accent-gold);
  color: var(--bg-primary);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  z-index: 10000;
  font-weight: 600;
}
.skip-link:focus { top: var(--space-md); }

/* Focus-visible outlines */
:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}

/* Ensure minimum touch targets on interactive elements */
a, button, label[for], input[type="checkbox"] {
  min-height: 44px;
  min-width: 44px;
}


/* ------------------------------------------------------------
   7. COMPONENTS — Buttons
   ------------------------------------------------------------ */

/* Primary Button */
.btn-primary {
  display: inline-block;
  background: var(--accent-gold);
  color: var(--bg-primary);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 28px;
  cursor: pointer;
  transition: background var(--transition-base), box-shadow var(--transition-base);
  text-align: center;
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: var(--accent-gold-hover);
  color: var(--bg-primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}

/* Secondary Button */
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--accent-gold);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 14px 28px;
  cursor: pointer;
  transition: background var(--transition-base), border-color var(--transition-base);
  text-align: center;
}
.btn-secondary:hover {
  background: var(--accent-gold-subtle);
  color: var(--accent-gold);
  border-color: var(--accent-gold-hover);
}
.btn-secondary:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}

/* Ghost Button (tertiary actions) */
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  transition: color var(--transition-fast);
}
.btn-ghost:hover { color: var(--accent-gold); }


/* ------------------------------------------------------------
   8. COMPONENTS — Cards
   ------------------------------------------------------------ */

/* Base Card */
.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: transform var(--transition-base), border-color var(--transition-base);
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
}

/* Featured / Highlighted Card */
.card-featured {
  background: var(--bg-secondary);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
}
.card-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

/* Card Grid Layouts */
.card-grid { display: grid; gap: var(--space-lg); }
.card-grid-2 { grid-template-columns: 1fr; }
.card-grid-3 { grid-template-columns: 1fr; }

/* Cards in grids: equal height with buttons pushed to bottom */
.card-grid .card,
.card-grid .tier-card,
.card-grid .case-study {
  display: flex;
  flex-direction: column;
}
/* Push the last child (CTA button/link) to the bottom of each card */
.card-grid .card > a:last-child,
.card-grid .card > .btn-primary:last-child,
.card-grid .card > .btn-secondary:last-child,
.card-grid .tier-card > .tier-card-section:last-child,
.card-grid .case-study > .case-study-before-after:last-child {
  margin-top: auto;
}


/* ------------------------------------------------------------
   9. COMPONENTS — Tier Cards (Services page)
   ------------------------------------------------------------ */

.tier-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-xl);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
/* Push the last section (CTA) in tier cards to bottom */
.tier-card > .tier-card-section:last-child {
  margin-top: auto;
}
.tier-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.tier-card-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--text-primary);
}
.tier-card-price {
  background: var(--accent-gold-subtle);
  border: 1px solid var(--border-accent);
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 1.1rem;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
}
.tier-card-tag {
  display: inline-block;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-style: italic;
  margin-top: var(--space-xs);
}
.tier-card-section { margin-top: var(--space-xl); }
.tier-card-section h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
}

/* Sprint tier — gold top border */
.tier-card-sprint { border-top: 2px solid var(--accent-gold); }

/* Price Badge Variants */
.price-free     { background: rgba(52, 211, 153, 0.08); border-color: rgba(52, 211, 153, 0.2); color: #34d399; }
.price-optional { background: rgba(147, 197, 253, 0.08); border-color: rgba(147, 197, 253, 0.2); color: #93c5fd; }


/* ------------------------------------------------------------
   10. COMPONENTS — Section Patterns
   ------------------------------------------------------------ */

.section {
  padding: 80px 0;
}
.section-lg {
  padding: 100px 0;
}

/* Hero Section */
.hero {
  padding: calc(80px + var(--space-4xl)) 0 var(--space-4xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(212,168,83,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 {
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
}
.hero-cta-group {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}

/* Section Dividers — static only, no animation */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0.3;
  margin: var(--space-3xl) 0;
}
.divider-subtle {
  height: 1px;
  background: var(--border);
  margin: var(--space-2xl) 0;
}

/* Legacy class — now static, no animation */
.divider-animated {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0.3;
  margin: var(--space-3xl) 0;
}

/* Eyebrow Text */
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-md);
}

/* Proof Point (small text under CTAs) */
.proof-point {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: var(--space-lg);
  font-style: italic;
}


/* ------------------------------------------------------------
   11. COMPONENTS — Stats Band
   ------------------------------------------------------------ */

.stats-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: var(--space-xl);
  padding: var(--space-3xl) 0;
}
.stat-block {
  text-align: center;
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
  line-height: 1.4;
}


/* ------------------------------------------------------------
   12. COMPONENTS — Quote Band
   ------------------------------------------------------------ */

.quote-band {
  text-align: center;
  padding: var(--space-4xl) var(--space-lg);
  position: relative;
}
.quote-band::before {
  content: '\201C';
  position: absolute;
  top: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  font-size: 6rem;
  color: var(--accent-gold);
  opacity: 0.15;
  line-height: 1;
}
.quote-text {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: var(--text-primary);
  font-style: italic;
  max-width: 700px;
  margin: 0 auto;
}
.quote-supporting {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: var(--space-lg) auto 0;
}


/* ------------------------------------------------------------
   13. COMPONENTS — Engagement Path / Timeline
   ------------------------------------------------------------ */

.engagement-path {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  position: relative;
  padding-left: var(--space-xl);
}
.engagement-path::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-gold), var(--border-accent), transparent);
}
.path-step {
  position: relative;
  padding-left: var(--space-2xl);
}
.path-step::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-xl) + 4px);
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--accent-gold);
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
}
.path-step-label {
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.path-step-title {
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 4px;
}
.path-step-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}


/* ------------------------------------------------------------
   14. COMPONENTS — FAQ Accordion (CSS-only checkbox hack)
   ------------------------------------------------------------ */

.faq-category { margin-top: var(--space-xl); }
.faq-category-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-accent);
}

.faq-item { border-bottom: 1px solid var(--border); }

.faq-toggle { display: none; } /* Hidden checkbox */

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) 0;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  user-select: none;
}
.faq-question:hover { color: var(--accent-gold); }
.faq-question::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform var(--transition-base);
  flex-shrink: 0;
  margin-left: var(--space-md);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-toggle:checked ~ .faq-question::after { content: '\2212'; color: var(--accent-gold); }
.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
  padding-bottom: var(--space-lg);
}


/* ------------------------------------------------------------
   15. COMPONENTS — Tables
   ------------------------------------------------------------ */

/* Legacy table styles (backward compat) */
.table-wrapper { overflow-x: auto; margin: var(--space-lg) 0; }

.table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.table-wrapper thead th {
  text-align: left;
  font-weight: 600;
  color: var(--accent-gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 2px solid var(--border-accent);
}
.table-wrapper tbody td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
.table-wrapper tbody tr:hover { background: var(--bg-tertiary); }

/* Modern card-based table (preferred) */
.table-modern {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-secondary);
  font-size: 0.9rem;
}
.table-modern thead th {
  background: var(--bg-tertiary);
  color: var(--accent-gold);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 16px 24px;
  text-align: left;
  border: none;
}
.table-modern tbody td {
  padding: 18px 24px;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  color: var(--text-secondary);
}
.table-modern tbody tr:last-child td { border-bottom: none; }
.table-modern tbody tr:hover { background: rgba(212,168,83,0.03); }
.table-modern tbody tr {
  transition: background var(--transition-fast);
}


/* ------------------------------------------------------------
   16. COMPONENTS — Lists
   ------------------------------------------------------------ */

.check-list { list-style: none; padding: 0; }
.check-list li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}
.check-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: 700;
}

.x-list li::before { content: '\2717'; color: var(--text-muted); }


/* ------------------------------------------------------------
   17. COMPONENTS — Testimonial
   ------------------------------------------------------------ */

.testimonial {
  background: var(--bg-secondary);
  border-left: 3px solid var(--accent-gold);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-xl);
}
.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}
.testimonial-attribution {
  font-size: 0.85rem;
  color: var(--text-muted);
}


/* ------------------------------------------------------------
   18. COMPONENTS — Case Study Card
   ------------------------------------------------------------ */

.case-study {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
}
/* Push before/after section to bottom of case study cards in grids */
.case-study > .case-study-before-after:last-child {
  margin-top: auto;
}
.case-study-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}
.case-study-type {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.case-study-result {
  background: var(--accent-gold-subtle);
  color: var(--accent-gold);
  font-weight: 700;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
}
.case-study-before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}
.case-study-before-after h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-sm);
}
.case-study-before h4 { color: var(--text-muted); }
.case-study-after h4  { color: var(--accent-gold); }


/* ------------------------------------------------------------
   19. SHARED ELEMENTS — Navigation (Glassmorphism)
   ------------------------------------------------------------ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 15, 26, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  display: flex;
  align-items: center;
  padding: 8px 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}
.nav-links a:hover { color: var(--accent-gold); }

/* Active nav link */
.nav-active { color: var(--accent-gold); }
.nav-active::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--accent-gold);
  margin-top: 2px;
}

/* Nav CTA — explicit styling for visibility */
.nav-cta {
  white-space: nowrap;
}
.nav-cta.btn-primary {
  color: #0a0f1a;
  background: var(--accent-gold);
  font-weight: 700;
  padding: 10px 22px;
  font-size: 0.85rem;
}
.nav-cta.btn-primary:hover {
  color: #0a0f1a;
  background: var(--accent-gold-hover);
}

/* CSS-Only Mobile Navigation (Checkbox Hack) */
.nav-toggle { display: none; }
.nav-hamburger { display: none; cursor: pointer; }
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}


/* ------------------------------------------------------------
   20. SHARED ELEMENTS — Footer
   ------------------------------------------------------------ */

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: var(--space-3xl) 0 var(--space-xl);
  text-align: center;
}
.footer-logo {
  height: 140px;
  width: auto;
  margin: 0 auto var(--space-lg);
  opacity: 0.7;
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.footer-nav a {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-nav a:hover { color: var(--accent-gold); }
.footer-social { margin-bottom: var(--space-lg); }
.footer-social a {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-social a:hover { color: var(--accent-gold); }
.footer-copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.6;
}


/* ------------------------------------------------------------
   21. COMPONENTS — Calendly Embed
   ------------------------------------------------------------ */

.calendly-container {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-secondary);
}
.calendly-container iframe {
  width: 100%;
  height: 750px;
  border: none;
  display: block;
}


/* ------------------------------------------------------------
   22. UTILITY CLASSES
   ------------------------------------------------------------ */

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.text-gold  { color: var(--accent-gold); }
.text-muted { color: var(--text-muted); }

.mt-xs  { margin-top: var(--space-xs); }
.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mt-xl  { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }

.mb-xs  { margin-bottom: var(--space-xs); }
.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }
.mb-xl  { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }

.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;
}


/* ============================================================
   23. RESPONSIVE — Tablet (768px+)
   ============================================================ */

@media (min-width: 768px) {
  .card-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }

  .stats-band { gap: var(--space-xl); }

  .section { padding: 80px 0; }

  .hero { padding: calc(80px + var(--space-4xl)) 0 var(--space-3xl); }

  .case-study-before-after { grid-template-columns: 1fr 1fr; }

  /* Engagement path switches to horizontal */
  .engagement-path {
    flex-direction: row;
    padding-left: 0;
    align-items: flex-start;
  }
  .engagement-path::before {
    left: 0;
    right: 0;
    top: 8px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), var(--border-accent), transparent);
  }
  .path-step {
    padding-left: 0;
    padding-top: 36px;
    padding-right: var(--space-md);
    flex: 1;
    text-align: center;
  }
  .path-step:last-child {
    padding-right: 0;
  }
  .path-step::before {
    left: 50%;
    top: 18px;
    transform: translateX(-50%);
  }
}


/* ============================================================
   24. RESPONSIVE — Desktop (1200px+)
   ============================================================ */

@media (min-width: 1200px) {
  .card-grid-3 { grid-template-columns: repeat(3, 1fr); }

  .section { padding: 80px 0; }

  .hero { padding: calc(80px + var(--space-4xl)) 0 var(--space-4xl); }

  .section-lg { padding: 100px 0; }
}


/* ============================================================
   25. RESPONSIVE — Mobile Nav (< 768px)
   ============================================================ */

@media (max-width: 767px) {
  .nav-hamburger { display: block; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(16px);
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border);
  }

  .nav-toggle:checked ~ .nav-links { display: flex; }

  /* Hamburger animation: X shape */
  .nav-toggle:checked ~ .nav-hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle:checked ~ .nav-hamburger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav-cta {
    width: 100%;
    text-align: center;
    margin-top: var(--space-md);
  }

  /* Calendly mobile sizing */
  .calendly-container iframe { height: 600px; }
}


/* ============================================================
   26. REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ============================================================
   27. PRINT STYLES
   ============================================================ */

@media print {
  .nav, .skip-link, .btn-primary, .btn-secondary, .nav-hamburger { display: none; }
  body { background: white; color: #1a1a1a; font-size: 11pt; }
  a { color: #1a1a1a; text-decoration: underline; }
  .card, .tier-card, .case-study, .testimonial {
    background: white;
    border: 1px solid #ccc;
    break-inside: avoid;
  }
  .hero::before, .divider, .divider-animated { display: none; }
}
